IM 6.2.9: Problem to crop TIFF images with type = Palette

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.
Locked
User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We tried the following with ImageMagick 6.2.9-2, the current release version, and it produce correct results:
  • convert logo: logo.tif
    convert -crop 480x480 logo.tif crop.tif
    display crop.tif
Post a URL to one of your TIFF images. We'll see if we can reproduce the problem.

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The resulting TIFF image is fine, its just that there are very few TIFF readers that handle the full gamut of TIFF image types. In your case you will want to reduce the image depth from 16 to 8. Add -depth 8 to your command line.

Locked