Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Copy text in Gimp console |
Posted by: Gimpnik - 09-25-2022, 10:59 AM - Forum: Scripting questions
- No Replies
|
 |
State:
Gimp: 2.10.32
OS: Win7 x32-Bit
If commands are executed by batch script, the Gimp console opens and there a certain sequence is displayed line by line. However, in contrast to Windows cmd.exe console, the lines can't be copied by right-clicking, but awkwardly via the nested context menu with right-click above the title bar (Edit => Select | Select all | ...).
It is possible to redirect the entire output of the console to a file, e.g. something like:
Code:
[size=medium][font=serif, Consolas]"%gimp%" -i --verbose -b "(BatchCropToContent \"*.png\")" -b "(gimp-quit 0)">"Output_GimpScript.txt"[/font][/size]
however, this does not solve the desire indicated here to be able to quickly copy a text section directly in the Gimp console.
Is there a possibility to remove this restriction and how?
|
|
|
Accelerate processing of Gimp scripts |
Posted by: Gimpnik - 09-25-2022, 10:11 AM - Forum: Scripting questions
- Replies (4)
|
 |
State:
Gimp: 2.10.32
OS: Win7 x32-Bit
Processing of tool scripts is unnecessarily slowed down:
Currently it is the case that when batch processing is performed by Gimp via external batch script (tested here especially under Windows), it is noticeable that gimp.exe starts in a new process instance each time, which unnecessarily slows down the repetition of scripts or execution of further commands, since Gimp first uploads all its modules each time - or even worse for each command line in the script. An unnecessary nonsense.
So it would be much more superior and faster, if there would be a parameter here to let gimp.exe load once into RAM and stay there until it is not explicitly removed from there something by (gimp-quit 0).
Under "gimp-2.10.exe --help" however no further parameters are listed at present, which force the execution of the Gimp console in already running instance.
And concretely on the example: A following processing under Windows leads currently per gimp.exe command line a delay of around 5 s, so with next following both command line per gimp.exe thus at least (2* 5 =) ~ 10 s are wasted:
Code:
PushD %~dp0
set "gimp=%ProgramFiles%\GIMP 2\bin\gimp-2.10.exe"
set "FileExtens=PNG"
"%gimp%" -i -b "(batch-crop-to-content \"*.%FileExtens%\")"
"%gimp%" -i -b "(scale \"*.%FileExtens%\")"
"%gimp%" -i -b "(rotate \"*.%FileExtens%\")"
(In addition there is the closing of Gimp, which is also somewhat delayed).
Suggestions for improvement?
|
|
|
MyPaint Brush stopped working after Ubuntu upgrade |
Posted by: mirta - 09-24-2022, 08:22 PM - Forum: General questions
- Replies (3)
|
 |
I just upgraded my Ubuntu to 22.04.1 and after the upgrade, the "MyPaint Brush" tool in Gimp has stopped recognizing pen pressure. Other brushes work normally, it's just this tool that doesn't have any pressure anymore. I tried deinstalling and reinstalling gimp, but it hasn't worked.
This is the brush library from MyPaint that Gimp can access and use, right? It's been working normally until the Ubuntu upgrade.
Is anyone else having a similar problem?
|
|
|
How to make larger image from small identical images like mosaic |
Posted by: dprenerov - 09-24-2022, 12:17 PM - Forum: General questions
- Replies (4)
|
 |
Hello,
I searched Google for this, but didn't found an answer.
I have a single png with alpha channel. Let's say 300x300 pixels.
So I need to produce a 1920x1080 pixels image which consists of multiple images like the small one. It should look like a mosaic. It is not important if 1920 can not be divided by 300 without a remainder. I need this image to be used as watermark adding to a video. So the important is to have small images clearly seen on the video, but transparent so to make the video not usable except for a preview.
So I have a single image which is OK to me, just don't know how to create larger image with alpha like a mosaic to be used for watermark.
Please help me with this.
|
|
|
Translucent images not working |
Posted by: NotZaky - 09-24-2022, 07:14 AM - Forum: General questions
- Replies (5)
|
 |
When I try to use a translucent image in GIMP, whether I lower the opacity in GIMP or imported a translucent image, there aren't any translucent pixels and it just ends up like this (image attached). I have an alpha channel and translucent images used to work fine on this exact file. I thought it was a bug, but after downgrading from 2.10.32 to 2.10.28, the problem persists. Can anyone figure out the problem?
|
|
|
Run batch command line in Fu console beginning with 'gimp' |
Posted by: Gimpnik - 09-23-2022, 06:01 PM - Forum: Scripting questions
- Replies (7)
|
 |
If I run the following code in Fu console
Code:
(gimp -i -b '(batch-crop-to-content "D:\Test\*.png")')
or
Code:
(gimp -b '(batch-crop-to-content "D:\Test\*.png")')
so I receive the following error message:
Code:
Error: syntax error: illegal token 1
Please help to understand this error.
I would like to run the command line via a batch script, but I receive only
"batch command executed successfully" and cant' see more details.
How to force detailed output for gimp-2.10.exe console without "echo off" to be able to see for possible errors in the chain of procedures?
In the batch script I have explicitly set "echo on" but this not help here, because gimp-2.10.exe is started as a separate process.
Thanks
|
|
|
Error SECURE_FAILURE |
Posted by: Gimpnik - 09-22-2022, 09:09 PM - Forum: General questions
- Replies (2)
|
 |
GIMP v.2.10.30 (on Win7 x 32 bit)
When running the file gimp-console-2.10.exe (in the default installation directory on Windows "C:\Program Files\GIMP 2\bin"), the console opens after about 10 s delay with the following error message:
Code:
gimp_check_updates_callback: loading of https://gimp.org/gimp_versions.json failed: GET request failed: WinHttp error: SECURE_FAILURE
And it does not matter whether the file is executed with simple rights (without "Run as administrator" and the UAC prompt does not appear) or with elevated administrative rights with UAC confirmation.
The same behavior occurs when a batch script is used to execute a Fu script, which in turn is called via the file gimp-2.10.exe.
There are no other problems with accessing the Internet with any other program.
Just tested also with the latest version of GIMP (v.2.10.32, auf Win7 x32-bit) and it behaves the same.
Why does GIMP access the Internet every time it is started (with TCP/IP data streams like www.gimp.org, router-default.apps, openshift4.gnome …) and how to turn this off? In settings via the GUI edit menu is nothing to find like automatically update or similar activity to be switch of.
Thanks
|
|
|
[split] Fake colorization |
Posted by: SKILKINKS35 - 09-22-2022, 08:08 PM - Forum: General questions
- Replies (9)
|
 |
I don't know whether this is the right place to ask this question but if I don't ask I won't know.
I have colour photos to which I would like to apply a colorization effect to make them look like colourized black and white 50s post cards.
Does anyone know whether there is a filter or a special effect that would allow me to this in GIMP ?
or is the only way to achieve this would be to turn my colour photos into black and white and then colorize them by colour by colour?
this would be too time consuming considering I have to do this for about 50 photos!)
Impossible question with no possible answer?
Thank you in advance
|
|
|
|