any way to set depth of a .png file?
Posted: Wed Nov 12, 2014 9:21 pm
Hi: I am exporting many .png files, and I'm converting them to a way smaller file size using a conversion utility than changes the color depth. Is there any way to do that within LiveCode as I export? I know I can set a .jpg compression, but these files have to be .png with alpha. According to the dictionary,
"If the image has an alpha channel, the export snapshot ... as PNG form creates a 32-bit PNG file."
so maybe not...
export snapshot from graphic "ThisGraphic" to file saveplace as PNG
"If the image has an alpha channel, the export snapshot ... as PNG form creates a 32-bit PNG file."
so maybe not...
export snapshot from graphic "ThisGraphic" to file saveplace as PNG