![]() |
How to make thumbnail for image
Hi.
I want to make thumbnail for selected image from local disk, but I don't know what is the proper way to do this. (this is all in AIR application) Here is the code that I try to use: Code:
// I select files from disk |
Does your code work? That looks pretty close to the right way to do it.
|
Unfortunetly it don't work. In the code I marked the place where error occurs.
It's the part when I try to create bitmapData from width and height of the image_temp Code:
bitmapData=new BitmapData(image_temp.width, image_temp.height);So I think I'm doing something wrong, but I don't know what, and how to fix this. |
| All times are GMT +1. The time now is 01:54 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.