Saving JPG file without External Components

i make this thread but in the actionscript section is where the people i need to see the program is.

http://www.kirupa.com/forum/showthread.php?t=203351

It takes an image from the webcam and save that image to a file with the .nim extension (i invent that, from “new image”)

someone knows a better way of doing this? the file sizze when converted to .nim is 40 Kb +/-