[magick-users] How to write an 8-bit PNG even with 16 colours
or less {perlmagick]
Forest Hale
lordhavoc at ghdigital.com
Wed Jan 16 02:46:03 PST 2008
Jon Perkin wrote:
> If one of my images has 16 colours or less, PerlMagick 'cleverly'
> creates a 4-bit (16-colour palette) PNG image, even if I've specified
> depth=>8. The 4-bit version does not work on my target platform.
This sounds like a case of a brain-damaged implementation on the target platform, as the PNG spec is entirely designed to do this sort of optimization.
I would imagine that ImageMagick uses libPNG and the behavior probably resides in there, you may need to build your own modified libPNG to force it to produce such images, I don't think this is an
ImageMagick problem.
--
LordHavoc
Author of DarkPlaces Quake1 engine and mod
http://icculus.org/twilight/darkplaces/
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
More information about the Magick-users
mailing list