randomname
randomname

Reputation: 41

Gimp gimp_image_convert_color_profile_from_file does not work

I'm trying to automate some task with gimp but it seems so that the color profile converting does not work.

pdb.gimp_image_convert_color_profile_from_file(image, r"d:\Todelete\Input\eciRGB v2.icc", 1, TRUE)

I tried with different icc files,from python, from console, with gimpfu script , I tried every plugin method:

pdb.gimp_image_convert_color_profile(image, num_bytes, color_profile, intent, bpc)
pdb.gimp_image_convert_color_profile_from_file(image, uri, intent, bpc)
pdb.gimp_image_set_color_profile(image, num_bytes, color_profile)
pdb.gimp_image_set_color_profile_from_file(image, uri)

Every time I got "operation not supported" error message

Meanwhile i came out with a solution that I use ImageMagick with a batch file, but this problem is still bothering me. Am I doing something wrong or are the functions buggy?

Upvotes: 0

Views: 66

Answers (0)

Related Questions