Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] How to modify this script-fu?
#1
Hi,

I use this script:





Code:
((define (script-fu-logo inImage inLogo )
(let*
(
(calque (car (gimp-file-load-layer 1 inImage inLogo)))
)
(gimp-image-add-layer inImage calque 0)
(gimp-image-flatten inImage)
) ; fin let*
) ; fin define


(script-fu-register "script-fu-logo"; name
"<Image>/MyScripts/logo" ; position in menu
"test script"; commentary
""; author
"" ;
"" ;date
"" ;
SF-IMAGE "inImage" 0
SF-FILENAME "inLogo" (string-append "" gimp-data-dir "/scripts/images/logo.png")
)

I wish that this script only use the logo.png, without asking it.

Do you know how to do that ?
Reply


Messages In This Thread
[Solved] How to modify this script-fu? - by boolbilam - 08-24-2017, 07:30 AM
RE: How to modify this script-fu? - by Kevin - 08-24-2017, 07:56 AM
RE: How to modify this script-fu? - by boolbilam - 08-24-2017, 09:07 AM

Forum Jump: