Export Snapshot question

Scott Rossi scott at tactilemedia.com
Fri Mar 16 13:12:08 EDT 2007


Recently, Dave wrote:

> I need to export a snapshot in a non-compressed format, from looking
> at the documentation I can export in the following formats:
> 
> JPEG
> GIF
> PNG
> PBM
> PGM
> PPM
> 
> JPEG is no good for what I want since it is lossy. GIF is no good
> because it only supports 8 bit color and I need 24 bit (if not 32 bit
> with Alpha Channel) I'm not sure what PBM, PGM or PPM are?

I believe these are formats for Unix but someone else may know better.

> Which  
> leaves PNG which uses lossless compression, however what are the
> defaults for the image? (Pixel Size, Component Size etc.).

Not sure what you mean by 'defaults' but if you have a 400 x 300 image, it
will export with those dimensions at (I believe) the native display
resolution.  I don't believe there are any configurable settings for PNG.

Also, you may not want to rule out JPEG.  Depending on what your app does, a
JPEG image with minimum compression (JPEGQuality = 100) should have very
minimal loss.  If you need alpha channel support, however, PNG is your only
option.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com





More information about the use-livecode mailing list