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
  Scaling GIMP for high definition monitors kerry 1 73 Nov 18, 2017 15:01
Last Post: paynekj
  GIMP on High Sierra won't open rickyleaks 1 101 Nov 9, 2017 12:45
Last Post: paynekj
  Gimp GUI icons missed massimobarbieri 1 275 Aug 23, 2017 17:51
Last Post: ofnuts
  why gimp in mac has bad performance mcheung63 1 289 Aug 20, 2017 10:13
Last Post: ythgilb
  Issue viewing GIMP-modified picture JuniorPear 1 344 Jul 6, 2017 05:03
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS