Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
icm color profile embedding in a PSD image
#3
It might/might not be possible using a gimp script/plugin. Probably not, Gimp 2.8.x has poor exif support. I leave that to the clever guys.

psd is a horrible format, that is poorly supported in Gimp. Not recommended unless absolutely necessary Wink

One way: Gimp then ImageMagick (IM)

1. Export a psd image using Gimp, I would use IM here but that scrambles the layers. https://i.imgur.com/niMmnAJ.jpg

2. Looks like this for comparison later on. https://i.imgur.com/I4Xv2MP.jpg note the icc profile files.

3. Take the image from Gimp and using IM to write the new colour profile (Normally I use this to convert RGB to CMYK). You do need the .icc profiles handy or be prepared to include the entire path. https://i.imgur.com/TuZKYhU.jpg
The general command
Code:
convert image.psd -alpha off -profile srgb.icc -profile new.icc -alpha on new.psd

4. Well the new.psd still looks like the old one, except for the increased file size. https://i.imgur.com/btAiCLh.jpg

5. Verify the profile using IM identify verbose. Looks ok here. https://i.imgur.com/p3JJZRx.jpg

edit: hmm..Just opened the new.psd in Gimp 2.9.7 which has better exif support, the new profile is definitely there but the 'text' layer is scrambled. Probably an IM thing, all you can do is try and hope.
Reply


Messages In This Thread
RE: icm color profile embedding in a PSD image - by rich2005 - 10-13-2017, 04:53 PM

Forum Jump: