Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script-fu - how to refer to the active image?
#4
I have a problem related to this, so I hope it is okay if I reply in this thread.

I tried to modify this script to get a reference if it is started while an image is active.

These parts got modified.

1.

an additional line


Code:
SF_IMAGE       "image"         "whatever"   ;image variable

in script-fu-register, so it now looks like this

Code:
           ""                     ;image type that the script works on
           SF_IMAGE       "image"         "whatever"   ;image variable
           SF-STRING      "Text"          "Text Box"   ;a string variable

2.
Code:
(define (script-fu-text-box inText inFont inFontSize inTextColor inBufferAmount) ...

got modified to


Code:
(define (script-fu-text-box inImage inText inFont inFontSize inTextColor inBufferAmount) ...


However after saving this and  refreshing the scripts the menu entry for the script disappeared. Now I'm stuck.
Reply


Messages In This Thread
RE: script-fu - how to refer to the active image? - by flauapaua - 12-10-2022, 12:10 PM

Forum Jump: