Problem opening Converted TIFF Images with Multiple Layers in PhotoShop after Conversion

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.
Post Reply
t2consult
Posts: 1
Joined: 2016-07-26T03:50:28-07:00
Authentication code: 1151

Problem opening Converted TIFF Images with Multiple Layers in PhotoShop after Conversion

Post by t2consult »

Dear ImageMagick Community,

I have found ImageMagick as the only free ImageConverter, which retains the Adobe Clipping Paths.

Most of the images are transformed correctly.
On some images, there are issues with converting them.

I have uploaded some samples here:
https://www.dropbox.com/sh/sv8ps9thlup3 ... iX7wa?dl=0

I am using: ImageMagick-7.0.2-5-Q8-x64

image1.original.tif and image2.original.tif are the original files.

I am using the following commands to convert them:

Code: Select all

convert -verbose image1.original.tif image1.converted.tif
convert -verbose image1.original.tif image1.converted.jpg

convert -verbose image2.original.tif image2.converted.tif
convert -verbose image2.original.tif image2.converted.jpg
image1 gives the following output:

Code: Select all

image1.original.tif[0] TIFF 2470x2413 2470x2413+0+0 8-bit ColorSeparation CMYK 28.98MB 0.938u 0:00.704
image1.original.tif[0] TIFF 2470x2413 2470x2413+0+0 8-bit CMYK 0.672u 0:00.444
image1.original.tif[0] TIFF 1254x896 1254x896+660+433 8-bit CMYK 0.672u 0:00.447
image1.original.tif[0] TIFF 1133x716 1133x716+721+576 8-bit CMYK 0.672u 0:00.453
image1.original.tif=>image1.converted.tif[0] TIFF 2470x2413 2470x2413+0+0 8-bit ColorSeparation CMYK 46.27MB 1.078u 0:01.184
convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/905.
convert: Unknown field with tag 282 (0x11a) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/905.
convert: Unknown field with tag 283 (0x11b) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/905.
convert: Unknown field with tag 296 (0x128) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/905.
convert: Unknown field with tag 306 (0x132) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/905.
convert: Incompatible type for "FileSource"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/905.
convert: Incompatible type for "SceneType"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/905.
convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/905.
image2 gives the following output:

Code: Select all

image2.original.tif TIFF 4150x3389 4150x3389+0+0 8-bit ColorSeparation CMYK 18.25MB 0.328u 0:00.325
image2.original.tif=>image2.converted.tif TIFF 4150x3389 4150x3389+0+0 8-bit ColorSeparation CMYK 18.25MB 0.984u 0:01.065
Both images can be opened with Paint.NET or the Windows-Picture-viewer.
But, when trying to open the image in PhotoShop it gives me the Exception:
"Could not complete your request because the file is not compatible with this version of Photoshop"

When trying to convert to JPG, ImageMagick will create a separate file for each layer.
All of these files convert correctly.

Any ideas on how to fix or workaround this issue?

Best regards,
Tobias
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem opening Converted TIFF Images with Multiple Layers in PhotoShop after Conversion

Post by snibgo »

I don't use Photoshop so can't diagnose the problem. It may be some passed-through Photoshop metadata, so try "-strip" before saving the output.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem opening Converted TIFF Images with Multiple Layers in PhotoShop after Conversion

Post by fmw42 »

Your image has adjustment layers. Imagemagick cannot currently handle them properly as far as I know. It can only deal with simple layers.
Post Reply