Page 1 of 1

After TIF -> PSD conversion image header is corrupt

Posted: 2007-10-28T08:37:34-07:00
by jn0101
Hello,

This is a follow-up on the survey of IM 636 made on viewtopic.php?f=3&t=9867 , to get the individual bugs reported in separate threads.


Identify fails after TIF -> PSD conversion.

The TIF file original_TIFF_RGB.tif (download from http://javabog.dk/filer/cmd_6.3.6/)
is valid (output of identify -verbose original_TIFF_RGB.tif can be found below), but
if it is converted to PSD then if will fail to load:

$ convert original_TIFF_RGB.tif original_tif_rgb_output.psd

$ identify -verbose original_tif_rgb_output.psd
identify: Improper image header `original_tif_rgb_output.psd'.

$ convert original_tif_rgb_output.psd x.jpg
convert: Improper image header `original_tif_rgb_output.psd'.
convert: missing an image filename `x.jpg'.

This has been seen on Linux as well as Windows.
Here is output of identify -verbose original_TIFF_RGB.tif:

Image: original_TIFF_RGB.tif
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 1024x1536+0+0
Type: TrueColor
Endianess: MSB
Colorspace: RGB
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 142.345 (0.558214)
Standard deviation: 49.091 (0.192514)
Green:
Min: 0 (0)
Max: 255 (1)
Mean: 137.947 (0.540967)
Standard deviation: 53.2827 (0.208952)
Blue:
Min: 0 (0)
Max: 255 (1)
Mean: 134.143 (0.526051)
Standard deviation: 59.8613 (0.23475)
Rendering intent: Undefined
Resolution: 240x240
Units: PixelsPerInch
Filesize: 4.53201mb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 1024x1536+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Comment: iptc_Description
Signature: dadd01748f9b34d22c216fa9a85c3df704c4eed429676747c6afa86c79049939
Tiff:artist: iptc_Author
Tiff:copyright: iptc_Copyright Notice
Tiff:make: Canon
Tiff:model: Canon EOS 350D DIGITAL
Tiff:rows-per-strip: 2
Tiff:software: Adobe Photoshop CS2 Windows
Tiff:timestamp: 2007:10:02 15:12:03
Profile-8bim: 6290 bytes
Profile-icc: 560 bytes
Adobe RGB (1998)
Profile-iptc: 328 bytes
unknown[2,0]:
Caption[2,120]: iptc_Description
Caption Writer[2,122]: iptc_Description Writer
Headline[2,105]: iptc_Headline
Special Instructions[2,40]: asdfdsf
Byline[2,80]: iptc_Author
Byline Title[2,85]: iptc_Author Title
Credit[2,110]: dsafdsfd
Src[2,115]: dsafdsfdsf
Image Name[2,5]: iptc_Document Title
Created Date[2,55]: 20071002
City[2,90]: adsfdsf
Province State[2,95]: adsfdsaf
Country[2,101]: dsafdsf
Original Transmission Reference[2,103]: afsdsfdsf
Category[2,15]: Cat
Supplemental Category[2,20]: Iptc_Supplemental Catagories
Keyword[2,25]: iptc_Keywords
Copyright String[2,116]: iptc_Copyright Notice
Profile-xmp: 25505 bytes
Tainted: False
Version: ImageMagick 6.3.6 09/28/07 Q8 http://www.imagemagick.org

Re: After TIF -> PSD conversion image header is corrupt

Posted: 2007-12-05T03:06:31-07:00
by jn0101
Please, could you react on this post, either by stating that you dont care, dont have time, or whatever??

Jacob

Re: After TIF -> PSD conversion image header is corrupt

Posted: 2008-11-05T05:36:24-07:00
by nsh
this must be the same issue

viewtopic.php?f=3&t=12414

Re: After TIF -> PSD conversion image header is corrupt

Posted: 2008-11-05T11:47:16-07:00
by fmw42
Sorry to stick my nose in here, but (from my own experiments and searches for information) have you seen some of the recent (and old) posts about multi-layer psd files?

viewtopic.php?f=1&t=12382
viewtopic.php?f=1&t=8411
viewtopic.php?f=3&t=5685

It appears that the folks at IM have attempted to contact Adobe about multi-layer psd files, but have gotten no response. Apparently there have been issues of proprietary format and licensing.

Hopefully Magick will clarify the current situation.

Re: After TIF -> PSD conversion image header is corrupt

Posted: 2008-11-05T12:58:58-07:00
by magick
PSD is indeed a proprietary format and if you ask Adobe for the format documents you have to sign a restrictive license basically blocking you from using the format within an open-source project. We did ask Adobe for an exemption and the Adobe contact never got back to us. If someone wants to contact Adobe again on behalf of the ImageMagick project, please do. We're too busy to persue it right now.