Sign up now! · Forgot password?
RSS/Atom feed Twitter

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.

2021-09-14 10:59:08 UTC (14 days ago)
postings
1
contact
Send private message

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 (13 days ago)
postings
117
contact
Send private message

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.