RSS/Atom feed Twitter
Site is read-only, email is disabled

scriptfu gimp-image-convert-color-profile-from-file not working

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2021-09-14 10:59:08 UTC (over 2 years ago)
postings
1

scriptfu gimp-image-convert-color-profile-from-file not working

Hi all,

Can anyone provide a working example of how to use gimp-image-convert-color-profile-from-file with scriptfu for a gimp script?

I have tried to use it in both scriptfu and python and in both scenarios, I get an "operation not supported" error when it runs. I have attached copies of my last attempts at both scriptfu and python scripts.

Thanks.

2021-09-15 16:35:06 UTC (over 2 years ago)
postings
121

scriptfu gimp-image-convert-color-profile-from-file not working

Hi all,

Can anyone provide a working example of how to use gimp-image-convert-color-profile-from-file with scriptfu for a gimp script?

I have tried to use it in both scriptfu and python and in both scenarios, I get an "operation not supported" error when it runs. I have attached copies of my last attempts at both scriptfu and python scripts.

Thanks.

Not sure but I think that you need single forward slashes (/) rather than backslashes (\) in your path names.

I don't think that you want the "file:\\\" in line 12 of the .scm file.

I think that your Python console printing statements are wrong instead of

print "Saving to %s" % outfile

try

print("Saving to file "outfile)

etc.