Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,768
» Latest member: Todd
» Forum threads: 6,977
» Forum posts: 38,113
Full Statistics
|
|
|
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?
|
|
|
|