Page 2 of 2

Re: resizing tiff cmyk files

Posted: 2012-04-12T11:06:14-07:00
by fmw42
This works fine for me with no color distortion. IM 6.7.6.5 Q16 Mac OSX Snow Leopard

convert logo: logo.tiff
convert logo.tiff -resize 50% logo_small.tiff

Perhaps you need to post a link to your tiff file that is having trouble.

Re: resizing tiff cmyk files

Posted: 2012-04-12T14:08:19-07:00
by gursch
Here is a link to a sample image: http://dl.dropbox.com/u/1973423/Stockholm_rgb.tif

Re: resizing tiff cmyk files

Posted: 2012-04-12T14:43:47-07:00
by fmw42
gursch wrote:Here is a link to a sample image: http://dl.dropbox.com/u/1973423/Stockholm_rgb.tif

I can reproduce your result, even adding -strip.

However, tiffinfo, shows:


tiffinfo 1Stockholm_rgb.tif
TIFFReadDirectory: Warning, 1Stockholm_rgb.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored.
TIFF Directory at offset 0x8 (8)
Subfile Type: (0 = 0x0)
Image Width: 500 Image Length: 333
Resolution: 72, 72 pixels/inch
Bits/Sample: 8
Compression Scheme: JPEG
Photometric Interpretation: YCbCr
YCbCr Subsampling: 1, 1
YCbCr Positioning: cosited



I am not an expert on tiff, but I wonder if it has to do with either the JPEG compression or the Photometric Interpretation: YCbCr?

Re: resizing tiff cmyk files

Posted: 2012-04-13T00:55:44-07:00
by gursch
I don't know what that mean. But the conversion worked well in older versions (like 6.7.3). However in 6.7.3 the conversion failed for images in CMYK colorspace. Now the conversion works fine with the CMYK colorspace, but not with the RGB colorspace.