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
  Request for script chlebna 1 99 Sep 13, 2017 09:35
Last Post: ythgilb
  Request for script - Guillotine + Watermark sunslick 1 164 Sep 4, 2017 08:51
Last Post: ythgilb
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholomäus 2 149 Aug 31, 2017 14:32
Last Post: Bertholomäus
  Need help in running a gui script-fu via command line eyalzek 2 284 Oct 4, 2014 14:05
Last Post: eyalzek
  Color menuitems in script or plugin Barbie 4 476 Sep 29, 2014 09:51
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS