[plt-scheme] When saving a bitmap% to a PNG file, how do you specify the bit depth?

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Fri Jan 30 07:13:01 EST 2009

On 1/30/09 4:52 AM, Grant Rettke wrote:
> Short answer: Yes
> Long answer: My friend needed some PNG's generated so I wrote it in
> PLT. I wasn't familiar with PNG and he said it needs to be "8 bit".
> Now that I have read up on it, I see what you mean; there is one byte
> for red green and blue, and one byte for transparency. Thanks for
> answering.

You may try posprocessing with OptiPNG [1]. It should give you better 
results than any other encoder. Check also the article about its inner 
workings [2].

[1]: http://optipng.sourceforge.net/
[2]: http://optipng.sourceforge.net/pngtech/optipng.html

Jakub Piotr Cłapa

Posted on the users mailing list.