Post Reply 

embedding icm profile in a psd generated by gimp

Oct 13, 2017, 11:56
Post: #1
embedding icm profile in a psd generated by gimp
Hello,

I'm trying to embed a icm profile sRGB IEC61966-2.1 into a layered PSD made of PNG images problematically using using python pdb call's in gimpfu v2.6.9.
it seems to always default to sRGB and does not embed the IEC version any idea how to do this
using exiftool and imagemagic convert on a psd results in gimp not being able to read it.

profile="/path/.../sRGB_Color_Space_Profile.icm"
image = pdb.gimp_image_new(width, height, RGB)
...
pdb.gimp_layer_set_name(layer, name)
pdb.gimp_image_add_layer(image, layer, 0)

...
pdb.plug_in_icc_profile_apply(image, profile, 0, False)
pdb.plug_in_icc_profile_set( image, profile)
pdb.file_psd_save(image, layer, output, output, 0, 0)

Cheers
Richard
Find all posts by this user
Quote this message in a reply
Oct 13, 2017, 12:00
Post: #2
RE: embedding icm profile in a psd generated by gimp
Did you look at this forum before you posted? It is DEAD and abandoned to the spammers.

Come to https://www.gimp-forum.net/ to get your questions answered.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Wink GIMP dialog boxes take forever to load! LugwigVanBacon 0 26 Aug 17, 2018 04:26
Last Post: LugwigVanBacon
  free online Gradient Generator for GIMP and inkscape released on github healingdrawing 1 79 Aug 8, 2018 09:00
Last Post: paynekj
  gimp 2.8.6 very slow to open files millsware 14 3,490 Aug 8, 2018 05:46
Last Post: paynekj
  Can't copy python script to Gimp plugin folder Alan Lacey 1 137 Aug 5, 2018 15:54
Last Post: paynekj
  How to add shininess to car textures in Gimp? sprotz 1 120 Aug 3, 2018 12:48
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS