To get the documentaiton of the API, open the script-fu console, hit the
"Browse..." button and enter "invert" in the search box. Then select the
function. You will see that the second argument determines if the
inversion is done in perceptual or linear space.
On 04/10/18 22:25, HeyJC wrote:
I am attempting to update the Saul Goode version of the Create Luminosity Masks
Script-Fu script, sg-luminosity-masks. It works fine in GIMP 2.8, but I have
just updated to GIMP 2.9.8 to take advantage of the automatic link to darktable
for importing RAW images.
When I first ran the script it ended with an error based on the use of
deprecated functions in the script. I replaced the function names with the newer
versions and the script starts to work but I eventually get the following error
Execution error for 'Luminosity Masks (saulgoode)':
Error: Invalid number of arguments for gimp-drawable-invert (expected 2 but
I have looked for a function reference for the gimp functions called in
Script-Fu without finding anything. I've also searched for the proper parameters
for gimp-drawable-invert but am also coming up blank.
Can anyone help with either a current function reference or the parameters for
gimp-drawable-invert. I've attached the original script for reference.
gimp-user-list mailing list
List address: firstname.lastname@example.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list