Thursday, March 8, 2012

AS3 - Big Canvas class

ActionScript 3's bitmap object is limited by size. For display, this is almost always sufficient. But any time you need a larger bitmap, such as to make a large, print-quality generative artwork, it falls short.

Keith of Bit-101 has a solution. He wrote his own "Big Ass Canvas" class that can do many of the same things a regular bitmap can without the size limitation. It works by stitching several bitmap objects together.

Edit: This class does not seem to have a method for encoding the giant bitmap as JPEG or PNG image files.

No comments:

Post a Comment