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
  How to Install Gimp 2.10 FRESH Dave S 1 109 May 18, 2018 07:14
Last Post: paynekj
  GIMP 2.8.18 on MacOS Sierra freezes on export yroeht 2 71 May 17, 2018 20:24
Last Post: paynekj
  gimp not detecting new tablet nightbirds 1 92 May 14, 2018 21:03
Last Post: paynekj
  Toolbox and layers do not close on exiting GIMP Acharn 1 121 May 6, 2018 20:04
Last Post: paynekj
  GIMP 2.10 mathmap.exe error while starting bluejedi 1 266 Apr 30, 2018 11:06
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS