Hi, I write plugin in C. I need to run this menu (Image - Color Management - Assign Color Profile) from procedure Script-Fu or from function libgimp.
I think (gimp-image-set-color-profile-from-file 1 "/home/master/.config/GIMP/2.10/plug-ins/1.icc") this is what I need.
> (gimp-image-set-color-profile-from-file 1 "/home/master/.config/GIMP/2.10/plug-ins/1.icc")
Error: Procedure execution of gimp-image-set-color-profile-from-file failed: Operation not supported
How does I need Assign ICC Color Profile?