Bug when saving gray images as miff after "-colorspace sRGB"

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
henrywho
Posts: 188
Joined: 2011-08-17T06:46:40-07:00
Authentication code: 8675308

Bug when saving gray images as miff after "-colorspace sRGB"

Post by henrywho »

Binary: http://www.imagemagick.org/download/bin ... indows.zip
(exe binaries dated 8 Sep 2011)

Test image: http://www.imagemagick.org/Usage/resize ... g_orig.png
  • Good: convert rings_lg_orig.png -resize 150x150! 01.miff
    Good: convert rings_lg_orig.png -depth 16 -resize 150x150! 02.miff
    Bad: convert rings_lg_orig.png -depth 16 -colorspace sRGB -resize 150x150! 03.miff
    Bad: convert rings_lg_orig.png -colorspace sRGB -resize 150x150! 04.miff
    Good: convert rings_lg_orig.png -depth 16 -colorspace sRGB -resize 150x150! 05.png
    Good: convert rings_lg_orig.png -colorspace sRGB -resize 150x150! 06.png
.... as viewed using IMDisplay.exe
Last edited by henrywho on 2011-09-11T23:11:10-07:00, edited 1 time in total.
henrywho
Posts: 188
Joined: 2011-08-17T06:46:40-07:00
Authentication code: 8675308

Re: "-colorspace" + gray + miff = Error

Post by henrywho »

This bug is still found in "ImageMagick-6.7.2-5-Q16-windows-static.exe"
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Bug when saving gray images as miff after "-colorspace s

Post by magick »

We found the problem. Look for a patch in the next point release of ImageMagick.
Post Reply