I have one bmp image can't be resized. But it can be viewed in windows.
/usr/local/ImageMagick-6.7.0/bin# ./convert -sample 40x40 441.bmp 1.jpg
convert: invalid colormap index `441.bmp' @ error/colormap-private.h/ConstrainColormapIndex/34.
http://ice.qq.com/images/441.bmp
Something wrong with this image?
problem - invalid colormap index
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: problem - invalid colormap index
Typically it means the image is wrong in some way. In this case it sounds like one pixel is using a color table index that goes beyond the limits of the supplied color table. However I could be wrong, and am not certain on how to test that theory.
Many programs will not report errors like this but try to carry on regardless.
Many programs will not report errors like this but try to carry on regardless.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
-
- Posts: 7
- Joined: 2011-06-16T16:52:23-07:00
- Authentication code: 8675308
Re: problem - invalid colormap index
I just got this, too, however with older versions of imagemagick I don't think I did. Unfortunately imagemagick servers don't appear to keep older versions available for download so I can't tell you which ones work
Command ("identify -ping C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370") failed: {:status_code=>1, utput=>"C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370 BMP 5x11 5x11+0+0 8-bit PseudoClass 256c 1.17KB 0.000u 0:00.000\nMagick: invalid colormap index `C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370' @ error/image.c/SyncImage/4310.\n"}
Command ("identify -ping C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370") failed: {:status_code=>1, utput=>"C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370 BMP 5x11 5x11+0+0 8-bit PseudoClass 256c 1.17KB 0.000u 0:00.000\nMagick: invalid colormap index `C:/Users/packrd/AppData/Local/Temp/mini_magick.196.64370' @ error/image.c/SyncImage/4310.\n"}
Re: problem - invalid colormap index
Older versions of ImageMagick can be found at imagemagick.sourceforge.net
(only the tar.gz sources, and only the last, usually x.y.z-10, release of each
ImageMagick-x.y.z). Also you can check out any particular version since 6.5.5-6 from
SVN.
(only the tar.gz sources, and only the last, usually x.y.z-10, release of each
ImageMagick-x.y.z). Also you can check out any particular version since 6.5.5-6 from
SVN.