Hi Kyle - I don't think the scaleX/Y actually changes the size of the canvas, so what you want might want to try is actually resizing the container. If for some reason you can't do that, maybe you could copy the contents into a new canvas that is not visible then resize that one.
I'm curious how you will get the byteArray to the server though...I've been trying to do this using a REST upload interface, and I haven't had any luck. Rob --- In [email protected], "Kyle" <[EMAIL PROTECTED]> wrote: > > Hey Everyone, > I'm trying to come up with a clever way to export a high res (300dpi) > .png image from flex to be saved on my server and later printed. The > initial bitmapdata is being taken from a 400x400 pixel Canvas > container. I then use the PNGEncoder class to turn the bitmapdata into > a bytearray and then send it on to the server. The issue is that the > .png output is at 400x400 pixels. The contents of the Canvas are all > in .swf (vector) format so I thought simply setting the scaleX/Y > properties to 4 prior to exporting might do the trick, but I have not > yet had any luck with this. Any ideas would be greatly appreciated. > > Thanks, > > Kyle >

