Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
3 hours ago
» Replies: 2
» Views: 100
|
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
7 hours ago
» Replies: 20
» Views: 82,163
|
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
Yesterday, 09:52 PM
» Replies: 8
» Views: 2,945
|
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 182
|
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,509
|
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 201
|
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,832
|
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 207
|
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 147
|
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 113
|
|
|
Can someone help me report this bug? |
Posted by: Drachenbauer - 11-22-2022, 10:57 PM - Forum: General questions
- Replies (8)
|
 |
Hello
If i export an indexed (palette generated from graphic-colors) graphic with transperencies as png, there appear weird things at reimport:
After closing and reimporting there is always a random colored extra cell in the index-palette of the graphic.
And often all pure black (all rgb channels 0) pixels are turned into transparency.
I decided to report it here:
gimp bug-report
But this needs an account and i cannor receive the gonfirmation mail
Can someone report it for me there, please?
|
|
|
Gimp Panorama Plugin |
Posted by: Terry - 11-21-2022, 04:15 PM - Forum: Extending the GIMP
- Replies (3)
|
 |
I just installed Linux Mint 21 x64 with Gimp 2.10.30. I would like to install a panorama plugin in Gimp. I see three choices Pandora, Hugin, and Stitch Panorama. Pandora looks like it may be out of date, Will it work with Gimp 2.10? Stitch Panorama requires Gimp be compiled with python support. Is the version of Gimp that comes with Mint 21 have python support?
Has anyone used these on Gimp 2.10 and what were your impressions?
|
|
|
Blur, change mode, save as |
Posted by: tkemmere - 11-21-2022, 09:50 AM - Forum: Scripting questions
- Replies (8)
|
 |
Hi,
I have a process that I need to perform multiple times in the future, so I started looking into the Script-fu documentation and tutorial on gimp.org. I can sort of follow the explanations and if I would keep at it for a day or so I might be able to get somewhere. (Edit: Actually, I'm not sure if I could manage it).
I decided to turn to this forum and ask the open question whether anybody (who is obviously infinitely more experienced ) is willing to get me going with a basic script. You can take this question two ways:
He's just being a lazy bum and let us do the work... (Please then let me know if a question like this is 'not done').
Oh, that's easy, I'll put something simple down, then he can take it from there and tweak and learn Script-fu...
My objective is to create an image in 5 shades out of a black and white picture. But before turning it into the shades, it needs to be Gaussian blurred to an X amount. The amout of blur depends on the picture. So the solution is trial and error. I do GB 10, 15, 20, 25, 30. Then I look at the results to select the best one.
Imagine the base-image is opened. The repetitive actions then are:
- Blur picture Gaussian blur 10;
- Image > Mode > Indexed 5, optimal palet, max colours 5;
- Save as pic10.jpg Same folder No compression;
- Undo;
- Undo;
- Blur picture Gaussian blur 15...
and so on.
Is there someone out there willing to give it a shot? I will also continue reading/working on it.
Thanks! Thomas.
PS. I'm using GIMP 2.10.22.
An overview of the work and that I can come up with myself.
The first step would be to set a Range of variables for the blur. Like {10, 15, 20, 25, 30}. I have no idea how to do that.
Then the first of the Range is loaded into variables 'X-value' and 'Y-value'. I have no idea how to do that.
Start logging steps to undo into a group. This is what I found to record the two steps thereafter into a group:
(gimp-image-undo-group-start image?)
Then comes the Blur script step. That I found:
(plug-in-gauss run-mode image drawable horizontal vertical method)
(plug-in-gauss 1 image? drawable? X-value Y-value 1)
Then comes the change image mode. That I found too:
(gimp-image-convert-indexed image dither-type palette-type num-cols alpha-dither remove-unused palette)
(gimp-image-convert-indexed image? 0 0 5 TRUE TRUE ignored?)
Stop logging undo steps.
(gimp-image-undo-group-end image?)
Next is Save as.
(file-jpeg-save run-mode image drawable filename raw-filename quality smoothing optimize progressive comment subsmp baseline restart dct)
(file-jpeg-save 1 image? drawable? Pic+X-value+.jpg Pic+X-value+.jpg 1 0 0 0 no_comment 4 0 0 dct?)
The script step to perform an the undo group. I couldn't find.
Something like (gimp-image-undo-now! image?)
Or maybe Undo-group-start and end are not needed, because at this point one can just do Gimp-Undo twice. But I can't find Gimp-Undo.
Increase variables 'x-value' and 'y-value' to next in Range. I have no idea how to do that.
Exit if Range is finished. I have no idea how to do that.
Run from the top. I have no idea how to do that.
|
|
|
gimp-file-load color profile |
Posted by: 6vfde - 11-20-2022, 01:39 AM - Forum: Scripting questions
- Replies (4)
|
 |
Hi!
I'm new to the forum and scripting, and have little GIMP experience.
I am working on my first python-fu script, which opens jpg files, changes them, and saves to new jpg files.
How one would load a jpg file while preserving its original 'sRGB' color space? When I open the file through the GUI, GIMP asks me if I want to keep it or convert to 'GIMP built-in sRGB'. However, when my script loads the file with pdb.gimp_file_load(), It just converts it automatically.
I'm running GIMP 2.10 on Debian.
Thanks a lot!
|
|
|
Overwriting 'software' EXIF tag |
Posted by: 6vfde - 11-20-2022, 01:27 AM - Forum: Scripting questions
- Replies (2)
|
 |
Hi!
I'm new to the forum and scripting, and have little GIMP experience.
I am working on my first python-fu script, which opens jpg files, changes them, and saves to new jpg files.
Is there a way to save a file with pdb.file_jpeg_save(), while overwriting the 'software' exif tag?
Even though I set the tag with pdb.gimp_image_set_metadata(), the resulting file has 'GIMP 2.10.32' as its value.
I'm running GIMP on Debian.
Thanks a lot!
|
|
|
|