Search found 2 matches

by ahmad.eldefrawy
2015-12-16T04:46:17-07:00
Forum: Users
Topic: TIF: improper header
Replies: 5
Views: 5951

Re: TIF: improper header

Thank you dlemstra,

I can see your point but i just can't find any other way around it. I used to convert these images on 6.5 but my workflow stopped after upgrading to 6.9.
Is there a way to add the "TIFFTAG_PHOTOMETRIC" field to my images to fix them? My TIFF images are currently missing few ...
by ahmad.eldefrawy
2015-12-15T07:01:04-07:00
Forum: Users
Topic: TIF: improper header
Replies: 5
Views: 5951

Re: TIF: improper header

I've managed to workaround this issue by editing the file /coders/Tiff.c under ImageMagick directory by replacing the following checks with their version of ImageMagick 6.5.

From like this:

if ((TIFFGetField(tiff,TIFFTAG_IMAGEWIDTH,&width) != 1) ||
(TIFFGetField(tiff,TIFFTAG_IMAGELENGTH,&height ...