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
  Gimp 2.10.8 error coyote 2 88 Nov 12, 2018 13:49
Last Post: coyote
  \Data\.gimp\backups\.goutputstream-XXXXXX Files DoughyInTheMiddle 1 114 Nov 10, 2018 10:01
Last Post: paynekj
  Is there a way to open a blank Gimp page? 00darkfox00 3 1,862 Oct 31, 2018 09:40
Last Post: paynekj
  How to change the weight of a font in gimp? adrianh 3 783 Oct 4, 2018 16:40
Last Post: paynekj
  Gradient Tool in GIMP 2.10 mrg4541 1 637 Oct 1, 2018 21:18
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS