Error on convert a simple PSD to JPG
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Error on convert a simple PSD to JPG
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).
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).
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
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.
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
I tested with the latested version in a CentOS server, but dont work.
It create a big blank file (160MB).
It create a big blank file (160MB).
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
You must use a very current version of Imagemagick which is currently at 6.9.6.3. Your version is too old.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
If you can provide a much smaller PSD file (<<150MB), then perhaps I can test it for you.
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
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
I create one PSD with "Flatten Layers". For me the convert result it's the same =(
See the file: https://goo.gl/xO1luc
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
Your link does not work. I get the following message
What did you mean byhttps://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.
Does it work properly or not?I create one PSD with "Flatten Layers". For me the convert result it's the same =(
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
Sorry about the link. you can use direct link: http://digitalrepublic.com.br/psd/flatten.zip
This PSD are flattened but not work yet...
This PSD are flattened but not work yet...
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
I cannot open your file in imagemagick.
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).
Code: Select all
identify -verbose Conteudo_varejo_RI2137_flatten.psd
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).
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
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...
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
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.
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
Hey fmw42, sorry for delay.
croped to 600x625px (the original have 1920 x 8439px)
http://digitalrepublic.com.br/psd/smaller.zip
croped to 600x625px (the original have 1920 x 8439px)
http://digitalrepublic.com.br/psd/smaller.zip
-
- Posts: 7
- Joined: 2016-11-04T06:46:55-07:00
- Authentication code: 1151
Re: Error on convert a simple PSD to JPG
Both I get the same issue... =/
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error on convert a simple PSD to JPG
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.
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.