Corrupt TIFF images

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Corrupt TIFF images

Post by rmagick »

An RMagick user is having trouble with corrupted TIFF images. He is processing about 16,000 images. Some are 2048x3072, the rest are 1024x1536. About 50 of the output images are corrupt. Each time he repeats the processing a different set of output images are corrupted. He is not able to predict which images will be affected. Here is one of the corrupt images: http://www.saskia.com/download/aam0711.zip. He says that all of the corrupt images look roughly the same - the odd rectangle is always in the upper-left corner and there are usually extraneous horizontal lines across the image. The corrupt image files are larger than non-corrupt images with the same dimensions and Photoshop reports the wrong image file size (4.46M for an 8.3M image, for example). The user processes these images by reading the image, resizing it, using unsharp-mask, and then writing the image to disk.

The user is running ImageMagick 6.3.0-Q16.

Can you give me any advice about how to narrow down the problem or help you to diagnose it? Would an example of one of the input images help?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The only way we can help is if we can reproduce the problem. We have not heard of this problem before and we are currently clueless what could cause the corruption.
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Post by rmagick »

Thanks for your quick response!
Post Reply