Hi,
I am trying to create a PNG using the image tag from PSD, the shadows are displayed incorrectly in higher version where as it was working fine on lower version of IM.
PSD file used to convert is : https://ufile.io/o80jdvdd
SRC icc file used : https://ufile.io/3wrwva7z
Command executed : convert.exe "D:/Ersa-ECOSELECT-1_M1_A4_01.psd[0]" "(" +clone -threshold 100% -alpha transparent -clip -alpha opaque -strip -alpha extract +clip -alpha copy ")" -compose copy_opacity -composite -profile D:/icc/164b16c8bb74fe786ef68dfc8ad5d2a4-0.icc -profile sRGB.icc -resize "1280x1280>" -quality 85 -colorspace srgb -antialias -intent Relative -black-point-compensation "D:/master.png"
With IM version 'Version: ImageMagick 6.8.9-5 Q16 x86 2014-06-26' PNG file generated is as https://ufile.io/34q6v6kc
With IM version 'Version: ImageMagick 6.9.2-5 Q16 x64 2015-10-31' PNG file generated is as https://ufile.io/jx3lv7ny
Can you please help me to know why this is happening or reason behind it
PSD to PNG conversion problem
Re: PSD to PNG conversion problem
Links for images are valid only for 30 days.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: PSD to PNG conversion problem
Your command gives an error (for me, with IM v6.9.9-50):
There is no clip path. So I remove "-clip" and "+clip".
With no clip path, what is the effect of:
"-alpha opaque" makes the image entire opaque, alpha=100%. Extracting and copying that alpha makes an opaque white image. So the "copy_opacity" makes the image entirely opaque by removing the alpha channel.
"-intent Relative" is a setting for "-profile", but you set it after "-profile", so it has no effect. I'm not sure, but I think the same is true of "-black-point-compensation".
Code: Select all
magick: no clip path defined 'ersa-ecoselect-1_m1_a4_01.psd': No error @ error/image.c/ClipImagePath/734.
With no clip path, what is the effect of:
Code: Select all
"(" +clone -threshold 100% -alpha transparent -clip -alpha opaque -strip -alpha extract +clip -alpha copy ")"
"-intent Relative" is a setting for "-profile", but you set it after "-profile", so it has no effect. I'm not sure, but I think the same is true of "-black-point-compensation".
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: PSD to PNG conversion problem
When I download your PSD file and open it Photoshop CC, I get a message
So I am not sure if the file is corrupted or not.Due to a problem initializing CC Libraries, existing links to library graphics will appear broken and new link creation may fail.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: PSD to PNG conversion problem
When I download your PSD file and open it Photoshop CC, I get a message
So I am not sure if the file is corrupted or not. But since it is missing assets, then I doubt it can be processed correctly.
If you fix the file so that these errors do not show up, then I can try to test the file again.
Then I get a message about missing assets (some smart file is reference in German)Due to a problem initializing CC Libraries, existing links to library graphics will appear broken and new link creation may fail.
So I am not sure if the file is corrupted or not. But since it is missing assets, then I doubt it can be processed correctly.
If you fix the file so that these errors do not show up, then I can try to test the file again.