Image format

Klaus Major klaus at
Wed Aug 4 16:45:16 EDT 2004

Kon'ichi wa Furukawa-san,

> I would like to export the data of an image object in either PNG or JPG
> format in CGI.
> But when I do this, I get a corrupted PNG file. I use Revolution 
> Engine 2.5
> (which doesn't seem to support "export image" command yet).
>  Maybe "put into url" cannot be used with image objects?

Try this, which is a bit shorter, too :-)

import snapshot from rect "0,0,100,100"
export last image to file "imagedir/myimage.png" as PNG

Hope that helps.

> Takaaki Furukawa


Klaus Major
klaus at

More information about the Use-livecode mailing list