ImageMagick Crush

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Solovei95
Posts: 20
Joined: 2011-09-28T22:06:15-07:00
Authentication code: 8675308

ImageMagick Crush

Post 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
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: ImageMagick Crush

Post 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.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: ImageMagick Crush

Post 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.
Post Reply