gimp plugins tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tut1 | |
http://stackoverflow.com/questions/12662676/writing-a-gimp-python-script | |
step1: put the script in first comment in the plugins folder set in pref->folders->plugins | |
step2: filters->python-fu->console->browse | |
step3: browse python-flip | |
step4: click apply | |
step5: change the "file" keyword to a test image with its path ie: pdb.pyhon-flip("/tmp/test.png") | |
step6: click enter | |
step1: ensure having the execution permissions on the file (ie: 755) | |
tut2: | |
step1: put the script gimpbook.com/scripting/gimp-script-templates/helloworld.py in the plugins folder | |
step2: as before | |
step5: browse for python_fu_hello_world | |
step4: as before | |
step5: type the parameters {ie: pdb.python_fu_hello_world("Hello world", "Sans", 20, "red")} | |
thanks @RaniaRho for the help :D | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For tut1 you can use the cmd command mentioned in the link passing the img as an input parameter to the function
gimp -i -b '(python-flip RUN-NONINTERACTIVE "/tmp/test.jpg")' -b '(gimp-quit 0)'