12-29-2020, 12:40 PM
(This post was last modified: 12-29-2020, 12:54 PM by Superkraft.)
I am trying to develop my first python script and i am stumbling into some questions,
i am quite stuck ....
and i am wondering whether i am searching for something which is not possible:
a) As a starting point i was trying to recreate the Brightness-Contrast menu using the: pdb.gimp_drawable_brightness_contrast() function.
I managed to setup the UI for brightness and contrast, but:
I would like to be able to recreate the functionality of the original menu,
especially including the realtime update in my image,
which the original gimp menu is capable off, but how? is it even possible?
b) I would like to be able to create several python scripts which are able to call each other,
but i could not find a error-free way to call another python script.
For example: the first file "contrast_filter.py" which calls after execution the second file "levels_filter.py"
Any suggestions would be very appreciated - Thanks
i will attach the python file here zipped.
i am quite stuck ....
and i am wondering whether i am searching for something which is not possible:
a) As a starting point i was trying to recreate the Brightness-Contrast menu using the: pdb.gimp_drawable_brightness_contrast() function.
I managed to setup the UI for brightness and contrast, but:
I would like to be able to recreate the functionality of the original menu,
especially including the realtime update in my image,
which the original gimp menu is capable off, but how? is it even possible?
b) I would like to be able to create several python scripts which are able to call each other,
but i could not find a error-free way to call another python script.
For example: the first file "contrast_filter.py" which calls after execution the second file "levels_filter.py"
Any suggestions would be very appreciated - Thanks
i will attach the python file here zipped.