Page 1 of 1

Tiff Image distorted by resize

Posted: 2007-03-05T02:32:15-07:00
by Winfried.Wille
Hello,
i gor a 40 bit Tiff Image, which is badly distorted after a resize. Wehen i just convert it to a .jpg the output is fine.
The Conversion-Process is time critcally, because of huge amounts of input, so i can't always convert to jpg in first place.
Command i run:
C:\Program Files\ImageMagick-6.3.2-Q16>convert 40bit.tif -colorspace rgb -resize
600 40bit.jpg
convert: 40bit.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFRead
Directory'.
InputFile:
http://212.60.7.240/ww/40bit.tif
Outpufile
http://212.60.7.240/ww/40bit.jpg
Usually the above conversion, give fine results.
Anyone a idea, how to fix it.

Regards

Winfried Wille

Re: Tiff Image distorted by resize

Posted: 2007-03-05T03:17:46-07:00
by pkashrai
I wanted to try your problem but I am little confused with your problem..As I understand , you want to convert .tif file to .tif only resizing it ..I tried it but the result was fine with me..I tried your command line but it also gave me fine result..Only I got was the warning message which can be made quiet using -quiet option..I used your command as:

Code: Select all

convert  -quiet img.tif colorspace rgb  -resize 600x  image.tif
If you can provide your original .tif image, I will be happy to try it again coz I also want learn more about ImageMagick!!!!

Re: Tiff Image distorted by resize

Posted: 2007-03-05T03:47:34-07:00
by Winfried.Wille
Hello,

i have corrected my original posting, i gave twice the hyperlink to the jpg Image, now there is a link to the tiff image.
I want to convert from tif to jpg and resize during this operation.

Re: Tiff Image distorted by resize

Posted: 2007-03-06T01:00:29-07:00
by pkashrai
I worked on converting to .jpg and resizing at the same operation with some of my .tif files, it worked fine..I got the resized fine .jpg image in single operation!!
And I tried with your image..But I also got the same problem as yours..The image was distorted..The only difference between your and my image was..in your black portion I got white and in your white portion I got black one..Converting to .jpg of same size and resizing that .jpg works fine..Let others to answer it if there is any solution!!