[plt-scheme] When saving a bitmap% to a PNG file, how do you specify the bit depth?
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
--
regards,
Jakub Piotr Cłapa