I am very new to scripting and programing but am doing my best to make a plugin that will complete multiple steps in succession for GIMP using script-fu.
The script I have written so far is as follows:
(define (script-fu-macro-pmc-ack image layer)
(gimp-fuzzy-select drawable x y threshold operation antialias feather feather-radius sample-merged)
(gimp-flip drawable flip-type)
(gimp-drawable-transform-rotate drawable angle auto-center center-x center-y transform-direction interpolation supersample recursion- level clip-result)
“Protocol for PMC”
SF-Image “Image” 0
SF-DRAWABLE “Layer” 0
I have a few questions:
- I want an image to duplicate itself as a layer and then apply these changes to just ONE of the layers. Is this possible?
- I also am unsure what my values should be for a few of my independent functions above. If someone could help me define those or understand those that would be greatly appreciated.
- When I try to run this script or a smaller version of this script it gives me this error message:
“Error while loading /Applications/GIMP-2.10.app/Contents/Resources/share/gimp/2.0/scripts/Practice 2.scm: Error: (/Applications/GIMP-2.10.app/Contents/Resources/share/gimp/2.0/scripts/Practice 2.scm : 23) eval: unbound variable: SF-Image”
Why is it giving me this message an how should I go about fixing that?
Thanks in advance!