Welcome, Guest |
You have to register before you can post on our site.
|
|
|
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?
|
|
|
wilber on taskbar? |
Posted by: stabilo - 06-25-2020, 02:17 AM - Forum: Older Gimp versions (2.8, 2.6....)
- Replies (1)
|
|
Hi, I often find it difficult to locate gimp on my taskbar because it doesn't have a clear and constant logo, but rather a mini version of the active image in gimp. Is it possible to set wilber as a fixed logo on the tabs in the taskbar?
tnx
linux mint 18.3 mate
|
|
|
GIMP 2.10 Won't print picture in selected size |
Posted by: PeaceLuth - 06-24-2020, 06:03 PM - Forum: General questions
- Replies (1)
|
|
I'm making correction and text additions to numerous photographs. All are imported from JPG files and set to 8 1/2 X 11 inch landscape at 300 dpi.
After making the necessary edits I save the picture in GIMP's default XCF file format. I then check the image size and canvas size to make sure they are the same, usually 8 1/4 X 10 3/4 inches to account for printer margins. I then print out a sample on plain paper. I'll use either an HP Envy 5055 inkjet or our Konica-Minolta bizhub C558. I'll check all the setting of the printers and then print.
I've yet to get a print that is 8 1/4 X 10 3/4. The print is usually 6 1/5 X 8 3/4. What gives?
|
|
|
|