| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,146
» Latest member: cjel
» Forum threads: 7,820
» Forum posts: 42,466
Full Statistics
|
| Latest Threads |
re-coloured pixels hide c...
Forum: Extending the GIMP
Last Post: programmer_ceds
55 minutes ago
» Replies: 1
» Views: 64
|
Wavelet-decompose doing m...
Forum: General questions
Last Post: JohnWilliams
10 hours ago
» Replies: 9
» Views: 5,211
|
Smudge tool not working
Forum: General questions
Last Post: sallyanne
Today, 12:51 AM
» Replies: 3
» Views: 191
|
Thank you for Gimp
Forum: Watercooler
Last Post: Sampollyt
Yesterday, 12:38 PM
» Replies: 0
» Views: 94
|
RapidRAW
Forum: Other graphics software
Last Post: denzjos
Yesterday, 07:40 AM
» Replies: 3
» Views: 1,005
|
Hiding Unwanted System Fo...
Forum: Extending the GIMP
Last Post: rich2005
02-24-2026, 10:05 AM
» Replies: 1
» Views: 193
|
Version Issue
Forum: General questions
Last Post: rich2005
02-23-2026, 09:40 PM
» Replies: 1
» Views: 224
|
GIMP 3 Python Enums: Defi...
Forum: Extending the GIMP
Last Post: MrsP-from-C
02-23-2026, 08:27 PM
» Replies: 6
» Views: 361
|
Odd problem with GIMP 3.0...
Forum: General questions
Last Post: cjsmall
02-22-2026, 08:09 PM
» Replies: 4
» Views: 438
|
Anyone working on video g...
Forum: Watercooler
Last Post: connag
02-22-2026, 07:48 PM
» Replies: 3
» Views: 2,107
|
|
|
| Script-Fu hanging after "Batch command successfully executed" |
|
Posted by: JmurrayGa - 06-26-2020, 10:03 PM - Forum: Extending the GIMP
- Replies (2)
|
 |
So this is a simplified command that is having the same issue
It runs the gimp-console executable but it does not seem to actually run any of the code inside -b argument.
This line below simply attempts to close the gimp console window but it simply hangs at "batch command executed successfully"
Any help would be appreciated!
Update Below
Code:
C:\Users\james>gimp-console-2.10.exe -idfc -b '(gimp-quit 0)' --console-messages --verbose | quit
'quit' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\james>gimp-console-2.10.exe -idfc -b '(gimp-quit 0)' --console-messages --verbose
Parsing 'C:\Program Files\GIMP 2\etc\gimp\2.0\gimprc' for configured language.
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\gimprc' for configured language.
No language property found.
INIT: gimp_load_config
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\unitrc'
Parsing 'C:\Program Files\GIMP 2\etc\gimp\2.0\gimprc'
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\gimprc'
INIT: gimp_initialize
INIT: gimp_real_initialize
Parsing 'C:\Program Files\GIMP 2\lib\gimp\2.0\interpreters\default.interp'
Parsing 'C:\Program Files\GIMP 2\lib\gimp\2.0\interpreters\pygimp.interp'
Parsing 'C:\Program Files\GIMP 2\lib\gimp\2.0\environ\default.env'
Parsing 'C:\Program Files\GIMP 2\lib\gimp\2.0\environ\pygimp.env'
INIT: gimp_restore
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\parasiterc'
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\colorrc'
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\templaterc'
INIT: gimp_real_restore
Parsing 'C:\Users\james\AppData\Roaming\GIMP\2.10\pluginrc'
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\file-rawtherapee\file-rawtherapee.exe'
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\file-darktable\file-darktable.exe'
Initializing plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\file-rawtherapee\file-rawtherapee.exe'
Initializing plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\file-darktable\file-darktable.exe'
Writing 'C:\Users\james\AppData\Roaming\GIMP\2.10\pluginrc'
Starting extension: 'extension-script-fu'
Plug-in "script-fu.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\script-fu\script-fu.exe) is installing procedure "flipHorizontal" with a full menu path "<Toolbox>/Xtns/User Scripts/Jmm/flipHorizontal" as menu label, this deprecated and will be an error in GIMP 3.0
Plug-in "script-fu.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\script-fu\script-fu.exe) is installing procedure "MakeStarWarsFigurine" with a full menu path "<Toolbox>/Xtns/User Scripts/Jmm/MakeStarWarsFigurine" as menu label, this deprecated and will be an error in GIMP 3.0
Plug-in "script-fu.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\script-fu\script-fu.exe) is installing procedure "makeTransparentBackground" with a full menu path "<Toolbox>/Xtns/User Scripts/Jmm/makeTransparentBackground" as menu label, this deprecated and will be an error in GIMP 3.0
No batch interpreter specified, using the default 'plug-in-script-fu-eval'.
batch command executed successfully
My issue was the use of single quotes around my code in -b.
I changed them to double quotes and it worked but what do I use to text qualify my function parameters? I was using double quotes but that seems to terminate the script early.
|
|
|
| script-fu - how to refer to the active image? |
|
Posted by: stabilo - 06-26-2020, 04:36 AM - Forum: Extending the GIMP
- Replies (10)
|
 |
Hi, I'm a newbie. I can't figure out how to refer to the active image in a non-interactive script. The example scripts I find all refer to either a new image, or an image loaded from disk, or looping through the image list, or assuming you're working on the rightmost image, or the image comes as a parameter from the dialog (for interactive scripts). I haven't been successful in locating an example that just uses an already opened active image.
So if i have an image open and active, and I want a non-interactive script to reduce opacity of that selected image with a fixed amount and then save the image, how do i refer to the image (and drawable)?
tnx!
|
|
|
| CombiNumerals... ? |
|
Posted by: uniform72 - 06-25-2020, 01:04 PM - Forum: General questions
- Replies (1)
|
 |
Trying to use the free TrueType version of the outline font CombiNumerals. Used to work on an older version of GIMP and/or Windows, but stopped working some time ago (not sure at which version). Any way to get it to work in current GIMP on Windows 10?
|
|
|
|