Invalid colormap index Grayscale Tiff

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
CarlPalmer
Posts: 3
Joined: 2016-09-28T12:10:28-07:00
Authentication code: 1151

Invalid colormap index Grayscale Tiff

Post by CarlPalmer »

I am trying to append some 8 bit grayscale tiffs, but i keep getting convert:invalid colormap index

the syntax I am using is:
convert image1.tiff image2.tiff +append output.tiff

I know for a fact that these are 8 bit images, but identify verbose is showing them as 16-bit.

I have seen a few other similar posts, but none seemed to help me solve the problem.

Any thoughts?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Invalid colormap index Grayscale Tiff

Post by dlemstra »

Can you share your image so we can try and reproduce your issue?

https://www.imagemagick.org/discourse-s ... f=1&t=9620
Also, always include in your post the ImageMagick version number and 'Q' level (use "convert -version"), and the platform (Windows, Linux, Mac) and API (PHP, Perl, DOS, VB, Shell, etc...) you are using to run ImageMagick. This can save a lot time in solving your problem.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
CarlPalmer
Posts: 3
Joined: 2016-09-28T12:10:28-07:00
Authentication code: 1151

Re: Invalid colormap index Grayscale Tiff

Post by CarlPalmer »

ImageMagick-7.0.3-1-protableQ16-x64

I would share the images, but they are 20+ MB each.

one of the images is located here: https://www.dropbox.com/s/o1l0ys3h1s0rk ... 4.TIF?dl=0

I am using this from windows 10 command line
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Invalid colormap index Grayscale Tiff

Post by dlemstra »

Thanks for sharing that image. I have moved your post to bugs because it looks like a bug. We are investigating this now.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Invalid colormap index Grayscale Tiff

Post by dlemstra »

We found what caused this and this will be fixed in the next version of ImageMagick.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
CarlPalmer
Posts: 3
Joined: 2016-09-28T12:10:28-07:00
Authentication code: 1151

Re: Invalid colormap index Grayscale Tiff

Post by CarlPalmer »

Nice! That is awesome

Any idea when that will be?

Thank you so much!
Post Reply