Page 1 of 1
Error on convert a simple PSD to JPG
Posted: 2016-11-04T06:58:29-07:00
by thaigomontini
Hi!
I'm having a strange problem when I try to convert 2 PSDs files to JPG.
The convert takes a lot of time (about 5 minutes each) and when finish they create a corrupted image.
My PSD files are here:
https://goo.gl/N8UxEX
I'm removed all optional commands, and just caled:
convert "Conteudo_varejo_RI2135_VAREJO.psd[0]" "test.jpg"
About my configuration:
convert -version
Version: ImageMagick 6.8.9-7 Q16 x86_64 2015-07-06
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
(using a Macbook PRO, with macOS Sierra. I also tried on a Ubuntu computer and get the same issue).
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-04T09:54:46-07:00
by fmw42
Neither of your files would open in a reasonable amount of time in my OLD Photoshop CS and one had to throw away (new) types of data. I would suggest you upgrade Imagemagick to the most current version, since there have been some improvements in reading PSD files with adjustment layers and group layers. See the changelog regarding when these were introduced.
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-04T10:54:45-07:00
by thaigomontini
I tested with the latested version in a CentOS server, but dont work.
It create a big blank file (160MB).
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-04T10:58:20-07:00
by fmw42
You must use a very current version of Imagemagick which is currently at 6.9.6.3. Your version is too old.
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-04T11:49:27-07:00
by fmw42
If you can provide a much smaller PSD file (<<150MB), then perhaps I can test it for you.
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-07T06:41:56-07:00
by thaigomontini
Hey fmw42, tks for your help!
I create one PSD with "Flatten Layers". For me the convert result it's the same =(
See the file:
https://goo.gl/xO1luc
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-07T11:56:29-07:00
by fmw42
Your link does not work. I get the following message
https://goo.gl/xO1luc – this goo.gl shortlink has been disabled. It was found to be violating our Terms of Service. Click here and here for more information about our terms and policies respectively.
What did you mean by
I create one PSD with "Flatten Layers". For me the convert result it's the same =(
Does it work properly or not?
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-08T05:20:50-07:00
by thaigomontini
Sorry about the link. you can use direct link:
http://digitalrepublic.com.br/psd/flatten.zip
This PSD are flattened but not work yet...
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-08T10:52:37-07:00
by fmw42
I cannot open your file in imagemagick.
Code: Select all
identify -verbose Conteudo_varejo_RI2137_flatten.psd
Abort trap
It won't open in a reasonable amount of time in my old Photoshop CS either.
So either it is too big a file or is corrupt in some way.
Can you create a much smaller image? Your file is 88 MB. Perhaps I can better test with a smaller image (smaller width and height).
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-08T11:25:09-07:00
by thaigomontini
This PSD maybe have some issue, because I resize to 30% of original size and the file size reduce just 3MB. But I need to know exactly what is the problem in the file to request correction...
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-08T12:55:59-07:00
by fmw42
Post the resized image so I can try to look at it. Or create a new smaller image that has the same problem and post that.
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-10T08:50:37-07:00
by thaigomontini
Hey fmw42, sorry for delay.
croped to 600x625px (the original have 1920 x 8439px)
http://digitalrepublic.com.br/psd/smaller.zip
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-10T08:52:07-07:00
by thaigomontini
Both I get the same issue... =/
Re: Error on convert a simple PSD to JPG
Posted: 2016-11-10T09:54:49-07:00
by fmw42
Using IM 6.9.6.4 Q16 Mac OSX, your file converts fine for me to both jpg and png.
If I compare the original to png (to avoid jpg compression losses), I get a perfect match.
compare -metric rmse convert Conteudo_varejo_RI2137_flatten.psd[0] test.png
compare -metric rmse Conteudo_varejo_RI2137_flatten.psd[0] test.png null:
0 (0)
Your file will not open in my very old Photoshop CS, but that is conceivable, since it is very old and Photoshop as changed quite a bit since then.
You should upgrade to the latest version of Imagemagick, since recent changes have been made to convert PSD files with adjustment and group layers from the flattened layer.