Converting PSD files (multilayerd)

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
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Converting PSD files (multilayerd)

Post by nsh »

Hi, check this sample test

[lapinkulta:~/Desktop] nisse% convert 05S98-TONI-421-SMALL.psd ut.psd
[lapinkulta:~/Desktop] nisse% identify ut.psd
identify: Improper image header `ut.psd'.
[lapinkulta:~/Desktop] nisse% ls -l ut.psd
-rw-r--r-- 1 nisse wheel 731422 Nov 5 11:05 ut.psd
[lapinkulta:~/Desktop] nisse% ls -l 05S98-TONI-421-SMALL.psd
-rw-r--r-- 1 nisse wheel 312719 Nov 4 13:50 05S98-TONI-421-SMALL.psd
[lapinkulta:~/Desktop] nisse%


the psd file is here http://web.telia.com/~u03000708/05S98-T ... SMALL.psd
Last edited by nsh on 2008-11-05T03:11:36-07:00, edited 1 time in total.
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

Sorry, version of convert is :

[lapinkulta:~/Desktop] nisse% convert -version
Version: ImageMagick 6.2.9 09/23/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
[lapinkulta:~/Desktop] nisse%

And OS is Mac OS X
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Coder identify[1722]: psd.c/unknown/874/Coder
layer type was È instead of 8BIM

[lapinkulta:~/Desktop] nisse% identify -debug all ut.psd
2008-11-05T11:26:12+01:00 0:01 0.000u 6.2.9 Configure identify[1722]: utility.c/unknown/805/Configure
Command line: identify{-debug}{all}{ut.psd}
2008-11-05T11:26:12+01:00 0:01 0.000u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Applications/ImageMagick-6.2.9/lib/ImageMagick-6.2.9/config/coder.xml"
2008-11-05T11:26:12+01:00 0:01 0.000u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Applications/ImageMagick-6.2.9/share/ImageMagick-6.2.9/config/coder.xml"
2008-11-05T11:26:12+01:00 0:01 0.000u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Users/nisse/.magick/coder.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "coder.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: coder.c/unknown/613/Configure
Loading coder file "/Applications/ImageMagick-6.2.9/share/ImageMagick-6.2.9/config/coder.xml" ...
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Module identify[1722]: module.c/unknown/1065/Module
Searching for module "PSD" using filename "psd.la"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Module identify[1722]: module.c/unknown/582/Module
Searching for coder module file "psd.la" ...
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Module identify[1722]: module.c/unknown/1085/Module
Opening module at path "/Applications/ImageMagick-6.2.9/lib/ImageMagick-6.2.9/modules-Q16/coders/psd.la"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Module identify[1722]: module.c/unknown/1120/Module
Method "RegisterPSDImage" in module "PSD" at address 0x3c358
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Module identify[1722]: module.c/unknown/1135/Module
Method "UnregisterPSDImage" in module "PSD" at address 0x3c3e0
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Blob identify[1722]: blob.c/unknown/2020/Blob
read 4096 magic header bytes
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Cache identify[1722]: cache.c/unknown/1845/Cache
destroy
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Applications/ImageMagick-6.2.9/lib/ImageMagick-6.2.9/config/magic.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Applications/ImageMagick-6.2.9/share/ImageMagick-6.2.9/config/magic.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "/Users/nisse/.magick/magic.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: configure.c/unknown/486/Configure
Searching for configure file: "magic.xml"
2008-11-05T11:26:12+01:00 0:01 0.010u 6.2.9 Configure identify[1722]: magic.c/unknown/671/Configure
Loading magic file "/Applications/ImageMagick-6.2.9/share/ImageMagick-6.2.9/config/magic.xml" ...
2008-11-05T11:26:12+01:00 0:01 0.020u 6.2.9 Blob identify[1722]: blob.c/unknown/2020/Blob
read 4096 magic header bytes
2008-11-05T11:26:12+01:00 0:01 0.020u 6.2.9 Coder identify[1722]: psd.c/unknown/677/Coder
Image is 200 x 140 with channels=3, depth=8, mode=CMYK
2008-11-05T11:26:12+01:00 0:01 0.020u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Area: 218.75kb/218.75kb/488mb
2008-11-05T11:26:12+01:00 0:01 0.020u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Memory: 218.75kb/218.75kb/366mb
2008-11-05T11:26:12+01:00 0:01 0.020u 6.2.9 Cache identify[1722]: cache.c/unknown/3108/Cache
open ut.psd[0] (heap memory, 218.75kb)
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/707/Coder
image has no matte
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/758/Coder
reading image resource blocks - 28606 bytes
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/818/Coder
image contains 3 layers
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/845/Coder
reading layer #1
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/855/Coder
offset(0,0), size(140,200), channels=5
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[0]: type=-1, size=28002
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[1]: type=0, size=28002
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[2]: type=1, size=28002
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[3]: type=2, size=28002
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[4]: type=3, size=28002
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/885/Coder
blend=norm, opacity=0, clipping=false, flags=1, visible=true
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/896/Coder
layer contains additional info
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/956/Coder
layer name: L01
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/1013/Coder
unsupported data: length=0
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Area: 273.438kb/273.438kb/488mb
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Memory: 273.438kb/492.188kb/366mb
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Cache identify[1722]: cache.c/unknown/3108/Cache
open ut.psd[0] (anonymous memory, 273.438kb)
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Cache identify[1722]: cache.c/unknown/1615/Cache
memory => memory
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Resource identify[1722]: resource.c/unknown/812/Resource
Memory: 218.75kb/273.438kb/366mb
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Coder identify[1722]: psd.c/unknown/1035/Coder
setting up new layer image
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Area: 273.438kb/273.438kb/488mb
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Memory: 273.438kb/546.875kb/366mb
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Cache identify[1722]: cache.c/unknown/3108/Cache
open ut.psd[0] (anonymous memory, 273.438kb)
2008-11-05T11:26:12+01:00 0:01 0.030u 6.2.9 Cache identify[1722]: cache.c/unknown/1615/Cache
memory => memory
2008-11-05T11:26:12+01:00 0:01 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/845/Coder
reading layer #2
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/855/Coder
offset(0,0), size(140,200), channels=5
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[0]: type=-1, size=56002
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[1]: type=0, size=56002
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[2]: type=1, size=56002
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[3]: type=2, size=56002
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/865/Coder
channel[4]: type=3, size=56002
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/885/Coder
blend=norm, opacity=0, clipping=false, flags=1, visible=true
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/896/Coder
layer contains additional info
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/956/Coder
layer name: Bakgrund
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/1013/Coder
unsupported data: length=-5
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Coder identify[1722]: psd.c/unknown/1035/Coder
setting up new layer image
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Area: 273.438kb/273.438kb/488mb
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Resource identify[1722]: resource.c/unknown/216/Resource
Memory: 273.438kb/820.312kb/366mb
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Cache identify[1722]: cache.c/unknown/3108/Cache
open ut.psd[0] (anonymous memory, 273.438kb)
2008-11-05T11:26:12+01:00 0:02 0.060u 6.2.9 Cache identify[1722]: cache.c/unknown/1615/Cache
memory => memory
2008-11-05T11:26:13+01:00 0:02 0.070u 6.2.9 Coder identify[1722]: psd.c/unknown/845/Coder
reading layer #3
2008-11-05T11:26:13+01:00 0:02 0.070u 6.2.9 Coder identify[1722]: psd.c/unknown/855/Coder
offset(0,0), size(0,35840), channels=0
2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Coder identify[1722]: psd.c/unknown/874/Coder
layer type was È instead of 8BIM
2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Locale identify[1722]: locale.c/unknown/501/Locale
Searching for locale file: "/Applications/ImageMagick-6.2.9/lib/ImageMagick-6.2.9/config/locale.xml"
2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Locale identify[1722]: locale.c/unknown/501/Locale
Searching for locale file: "/Applications/ImageMagick-6.2.9/share/ImageMagick-6.2.9/config/locale.xml"
2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Locale identify[1722]: locale.c/unknown/501/Locale
Searching for locale file: "/Users/nisse/.magick/locale.xml"
2008-11-05T11:26:13+01:00 0:02 0.080u 6.2.9 Locale identify[1722]: locale.c/unknown/501/Locale
Searching for locale file: "locale.xml"
2008-11-05T11:26:13+01:00 0:02 0.110u 6.2.9 Exception identify[1722]: psd.c/unknown/876/Exception
Improper image header `ut.psd'
2008-11-05T11:26:13+01:00 0:02 0.110u 6.2.9 Resource identify[1722]: resource.c/unknown/812/Resource
Memory: 273.438kb/546.875kb/366mb
2008-11-05T11:26:13+01:00 0:02 0.110u 6.2.9 Cache identify[1722]: cache.c/unknown/1845/Cache
destroy ut.psd[0]
identify: Improper image header `ut.psd'.
[lapinkulta:~/Desktop] nisse%
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting PSD files (multilayerd)

Post by magick »

When all else fails, upgrade! We tried various conversions from TIFF, JPEG, etc., to PSD with the latest release, 6.4.5, and all is well. If the conversion fails for you with 6.4.5 please post a URL to your image here and the command you are using and we will hopefully have a resolution for you within a day or two.
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

Yes, of course , sorry, installed the latest version, and run the commands again

[WhiteMac:~] nisse% convert 05S98-TONI-421-SMALL.psd ut.psd
[WhiteMac:~] nisse% identify ut.psd
identify: Improper image header `ut.psd'.
[WhiteMac:~] nisse% convert -version
Version: ImageMagick 6.4.5 2008-11-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
[WhiteMac:~] nisse%

and the image is here : http://web.telia.com/~u03000708/05S98-T ... -SMALL.psd
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting PSD files (multilayerd)

Post by magick »

We can reproduce the problem you reported and should have a fix within a day or two. Stand by...
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

any news regarding this issue ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting PSD files (multilayerd)

Post by fmw42 »

nsh wrote:any news regarding this issue ?

IM 6.4.5-6 is out, have you tried that yet?
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

Tested with 6.4.5-8, no diference, the bug is still out there...
nsh
Posts: 27
Joined: 2006-05-16T01:52:23-07:00

Re: Converting PSD files (multilayerd)

Post by nsh »

any news ?
Post Reply