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
  Changing names on things in Gimp? colorizing 1 132 Feb 17, 2018 04:34
Last Post: ythgilb
Question Gimp 2.8 vs 2.9 performance dr_Fell 2 142 Feb 16, 2018 15:27
Last Post: dr_Fell
  Gimp 2.8.22 in Windows 10: Filename issue Mona Eberhardt 3 164 Jan 28, 2018 21:16
Last Post: ythgilb
  GiMP 2.8.10 freezes on 'Opening '[filename]' Rasha 0 113 Jan 24, 2018 00:00
Last Post: Rasha
  Huoin 1060 plus + Ubuntu + Gimp 2.9.x belussi 1 160 Jan 22, 2018 22:57
Last Post: ofnuts

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS