Page 1 of 1

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

Posted: 2016-07-26T04:54:15-07:00
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

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

Posted: 2016-07-26T07:34:40-07:00
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.

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

Posted: 2016-07-26T08:44:20-07:00
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.