Page 1 of 1
After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-06T22:09:21-07:00
by pssvarma8881
Hi,
When i am converting a PSD to PNG ,profile information not found from PNG when i open the converted PNG in Photoshop .it shows unknown if use document profile for the PNG
Version Information :
Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14
http://www.imagemagick.org
Command:
convert -verbose -units PixelsPerInch +profile 8bim -density 72 -resize 1000 sourcefile[0] -profile "D:\Droplets\sRGB Profile.icc" "destfile.png"
Thanks in advance.
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-06T23:07:33-07:00
by fmw42
I do not fully understand what the issue is? Is it just a missing sRGB profile?
Can you post your original PSD and your output PNG to some place such as dropbox.com and put the URLs here.
Note that proper IM syntax for dealing with raster images is to read the input right after convert and then the settings and then the operator and any final settings. You are resizing before the image is read. That may not be good. You are stripping profiles before reading the input.
Is your PSD colorspace sRGB or CMYK and does it already have an icc or icm color profile? Check
identify -verbose yoursourceimage
Does your PSD file contain adjustment layers or group layer? If so, IM cannot currently convert that PSD file to PNG.
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-09T21:58:13-07:00
by pssvarma8881
You can find the files at
https://1drv.ms/f/s!AuiGMeVn7efEe0Bf0eUm0IxHn-k
When i open the PNG file in Photoshop CC2014 it shows profile name as untagged.
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-09T22:36:38-07:00
by fmw42
Your PSD file has adjustment layer, group layers and multiple alpha channels. Imagemagick cannot currently handle this properly. However, I think it should be able to extract the layer [0], which should be the flattened layer.
I tried
Code: Select all
convert psd:alpha-unblend=off WG_MYAG_V6023_11027_009_Orig.psd[0] +profile "*" -profile /Users/fred/images/profiles/sRGB.icc result.png
But I get an
abort trap using IM 6.9.6.1 Q16 Mac OSX
Your image has an AdobeRGB profile. You might strip that and then apply the sRGB.icc profile. You can strip all profiles using +profile "*" as above.
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-10T13:37:08-07:00
by pssvarma8881
Thanks for your response .
I tried the option but still Adobe CC is showing Document Profile as un-tagged for the converted PNG file .
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-10T14:22:30-07:00
by fmw42
Unfortunately, I cannot help at the this time, since I am still getting an abort trap.
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-13T19:00:40-07:00
by pssvarma8881
Is there any one who can help here?
Re: After PSD to PNG conversion Profile is not applied on PNG
Posted: 2016-10-13T19:28:13-07:00
by fmw42
I believe that dlemstra is already working on the PSD issue. Once he gets the abort trap worked out, I can continue my investigation. Or he might do it along the way. But I believe you will still only be able to convert the first [0] flattened layer to PNG. Other adjustment and group layers will only be able to be transferred another PSD file, in the short term.
He can clarify further.