Scale it, use bitmapData.draw to get the new results

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ezekiel48
Sent: Thursday, May 01, 2008 11:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Image Resampling

 

I want to create a thumbnail of a picture, but if I just resize the
picture to say, 95X95 pixels the data of the 6MP picture is still
loaded into memory so the program take up A LOT of memory. I want to
resize and/or resample the image to be of a lower resolution so the
unused data can be cleaned out of memory.

I have looked around and heard about sending an image to a server to
be resized but when I need thumbs for a TileList and sending all those
images to the server would take too long. Does anyone have any
suggestions? Thanks in advance.

 

Reply via email to