Page 1 of 1

ImageMagick Crush

Posted: 2012-01-02T07:54:15-07:00
by Solovei95
Example:
convert img1.png -define png:bit-depth=8 -depth 12 -compress zip -quality 95080 -sampling-factor 4:2:2 img1.jng
Result:
Crush convert

Version Q16
.bat file

Re: ImageMagick Crush

Posted: 2012-01-02T09:09:19-07:00
by glennrp
Yes, I know, that crashes (segfaults) in IM-6.7.4-4. It has something to
do with the use of -depth 12 (-depth 8 does not crash). When the JNG encoder
was written, image->depth=12 could not occur, so that possibility was
overlooked. I'm looking for a fix now.

Re: ImageMagick Crush

Posted: 2012-01-02T13:08:36-07:00
by glennrp
It's not crashing now when depth is 9-15. All such depths are promoted internally
to 16 in the PNG encoder, because PNG doesn't support such depths.