Issue with converting image format from PSD to PNG and JPG #8204
Replies: 2 comments
-
|
"convert" is deprecated. Don't use it. Instead, use "magick". The PSD was made by Photoshop, which usually writes a flattened version in the first image of the PSD. For ImageMagick, the suffix "[0]" will extract the first image from the file. This tells us the first image is encoded as CMYK, with embedded ICC colour profile. This makes If you want to convert it to sRGB: ... where CRB17-009.psd[0] also contains a clipping path. Do you want to apply that? |
Beta Was this translation helpful? Give feedback.
-
|
You’re running into two common PSD issues: CMYK color space and layer handling. Since the file was created in Photoshop, it already contains a flattened preview as the first image. Instead of flattening layers manually, try extracting that directly: magick CRB17-009.psd[0] -profile sRGB.icc output.jpg The [0] grabs the flattened version, which usually avoids the gray/shifted color problem. Also make sure you're converting properly from CMYK to sRGB — just assigning profiles can cause color shifts. If you want a simpler way to convert PSD to PNG or JPG without dealing with profiles and layers manually, you can try this online tool: Let me know if you also need to preserve the clipping path. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
ImageMagick version
7.1.1-42
Operating system, version and so on
Linux
Description
Issue:
Trying to convert image format from PSD to PNG and JPG.
I am encountering layering issues and color problems during conversion.
Commands used:
magick CRB17-009.psd -profile USWebCoatedSWOP.icc -profile sRGB2014.icc -layers flatten tmp-CRB17-009.jpgand
convert -layers flatten -profile USWebCoatedSWOP.icc -profile sRGB2014.icc CRB17-009.psd tmp-CRB17-009.jpgProblem:
The output colors are not correct (grayish or shifted).
Layer flattening seems to not work as expected.
Looking for help or suggestions on how to properly handle color profiles and layers when converting PSD files.
Please find link with PSD file attached.
https://testlas.staging.cantoflight.com/s/R7EO7?viewIndex=0
Beta Was this translation helpful? Give feedback.
All reactions