Post Reply 

How to modify this script-fu?

Aug 23, 2017, 12:32
Post: #1
How to modify this script-fu?
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 ?
Find all posts by this user
Quote this message in a reply
Aug 23, 2017, 12:48
Post: #2
RE: How to modify this script-fu?
.
This forum has been DEAD for a long time. Nobody left here to answer questions.

Folk who were here have moved to
https://www.gimp-forum.net
Please ask on there
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Run script on action rchav 2 873 Aug 13, 2018 14:57
Last Post: rchav
  Script Fu Errors Gimp 2.10.4 lightsaber jd3481 1 556 Aug 2, 2018 05:13
Last Post: paynekj
  Script-fu script to conversion pdf to image 4ever 12 11,437 Jul 17, 2018 16:01
Last Post: paynekj
  Problems with a bat script :( ThaUnknown_ 1 525 Mar 26, 2018 21:14
Last Post: paynekj
  Script-fu ordered file list vnicent 1 339 Mar 19, 2018 17:33
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS