Save out bitmapData to JPG
I've seen several examples of saving a bitmapData object out as a JPG. Most of the examples would freeze while parsing the huge pixel information. So I wrote a class that delays the parsing and dispatches progress. This way you can update the user on the processing progress, rather than have the application freeze for several seconds. Check it out. And as always, right-click to view/download the source.Don't pay attention too much to the crappy drawing tools built into this. Maybe we'll have a better drawing app for a future example. This example is more for the bitmapData to JPG conversion.

5 Comments:
very nice
this is very cool. when i try to use it though on my own server, my output jpg is just a white jpeg. so i don't think i am capturing any pixel information.
I'm trying to look at the source but the source code for savejpg.php seems to be a broken link.
Can you post the php code, too.
Thanks so much for sharing!
Hello guys, very nice example! Here is also a server side code in C#: http://blog.3datweb.com/post/Flex-snapshot-saving-picture-with-NET-C.aspx
Post a Comment
Links to this post:
Create a Link
<< Home