Image format

Takaaki Furukawa tac at mac.com
Wed Aug 4 15:12:32 EDT 2004


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?

> set the paintCompression to PNG
> import snapshot from rect "0,0,100,100"
> put last image into myImage
> put myImage into url "file:imagedir/myimage.png"

Takaaki Furukawa



More information about the use-livecode mailing list