Hello,

I am working on a project where I layer various PNG's within a Canvas
container to create the ultimate finished design.  Once the creation
process is complete, I would like to "flatten" the image and save the
new design as a single PNG.  Using this composite PNG will be much
less resource intensive when the design is shown outside of the
creation process.

I'm looking for some advice on the best way to handle this.  I
currently have two thoughts-

1) Using something like the copyPixels() method of the BitmapData
class to copy the pixels of all of the child images into a "final"
bitmap and then saving that BitmapData back to the server as a PNG, or

2) Sending "specs" of the image back to the server and creating the
final PNG using ImageMagick on the server.

Any thoughts on whether the client is the best place to do this and
how overly complex (or incredible simple) that might be?  Thanks.

Mike

Reply via email to