resizing tiff cmyk files

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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: resizing tiff cmyk files

Post 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.
gursch
Posts: 20
Joined: 2010-05-25T02:41:06-07:00
Authentication code: 8675308

Re: resizing tiff cmyk files

Post by gursch »

Here is a link to a sample image: http://dl.dropbox.com/u/1973423/Stockholm_rgb.tif
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: resizing tiff cmyk files

Post 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?
gursch
Posts: 20
Joined: 2010-05-25T02:41:06-07:00
Authentication code: 8675308

Re: resizing tiff cmyk files

Post 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.
Post Reply