I do not understand why my call to pdb.gimp_histogram
throws a RuntimeError: execution error
.
from gimpfu import *
def plugin_main ( timg, tdrawable ):
pdb.gimp_histogram( tdrawable, 0, 0, 255 )
According to the docs, the function takes four arguments:
- drawable ( type drawable)
- channel to modify ( type int )
- start range ( type int )
- end range ( type int)
I provide all four in the barebones code above, so why is the error thrown?