| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
how to use different font...
Forum: General questions
Last Post: denzjos
1 hour ago
» Replies: 1
» Views: 58
|
arakne path shapes
Forum: Extending the GIMP
Last Post: MrsP-from-C
Yesterday, 08:45 PM
» Replies: 3
» Views: 206
|
How to apply layer to obj...
Forum: General questions
Last Post: rich2005
Yesterday, 03:59 PM
» Replies: 1
» Views: 129
|
Selective transparency
Forum: General questions
Last Post: aka
02-04-2026, 03:44 PM
» Replies: 5
» Views: 313
|
ExifToolGUI and ExifTool ...
Forum: Other graphics software
Last Post: denzjos
02-03-2026, 12:07 PM
» Replies: 12
» Views: 12,928
|
Can you identify effects/...
Forum: General questions
Last Post: rich2005
02-02-2026, 09:34 AM
» Replies: 11
» Views: 785
|
GIMP 3.0.8 Installation
Forum: Windows
Last Post: rich2005
02-01-2026, 08:30 AM
» Replies: 2
» Views: 552
|
Best way to recolor this ...
Forum: General questions
Last Post: rich2005
02-01-2026, 08:25 AM
» Replies: 12
» Views: 1,050
|
A Search For Missing Belg...
Forum: Watercooler
Last Post: Tas_mania
02-01-2026, 03:18 AM
» Replies: 3
» Views: 1,209
|
eps file won't open
Forum: General questions
Last Post: rich2005
01-30-2026, 09:26 AM
» Replies: 2
» Views: 314
|
|
|
| Decor/Add Border works strangely |
|
Posted by: snusmumriken - 03-19-2023, 09:49 AM - Forum: General questions
- Replies (1)
|
 |
It does work, but I find I have to:
- hunt for the dialogue box centre screen but behind the main GIMP window.
- move it to a position beside the main GIMP window
- click on the target image in the main window
- double click on OK in the border dialogue box
- sometimes repeat the last two steps once or twice more before anything happens
I am using Mac OS-X Ventura and GIMP 2.10.
I am completely at the starting block wrt scripting, but if anyone is in a position to correct this behaviour for a future update, please could they also consider adding:
- tool preserves current settings (width, colour) for next use
- dialogue box opens where you last left it, and floating above (overlaying) main GIMP window.
|
|
|
| I've broken my exports as JPG somehow |
|
Posted by: andrewnewby - 03-18-2023, 03:11 PM - Forum: General questions
- Replies (10)
|
 |
Hi,
I was playing around with my settings, as I always want JPG's to export at 100% quality (it always seems to want to downgrade to 90%?). Anyway - now when I export an image as a .jpg I get a corrupted image. Here is my settings:
https://ibb.co/bJht60W
(sorry, I don't seem to be able to embed images via , and the upload attachment doesn't seem to work?)
Anyhow - if I look at the generated .jpg file in Notepad++, I can see it has the right start:
ÿØÿà JFIF
So I'm unsure whats going on :/ When I try and open it in Photos I get:
https://ibb.co/4F08ybc
Any suggestions? I've tried to do a "reset" of the settings but that doesn't seem to help :/
UPDATE: I just installed 2.99.14 beta, and it showed:
Quote:gimp-user-install: migrating from C:\Users\Andy\AppData\Roaming\GIMP\2.10
Gimp-Config-Message: 15:24:31.556: Error while parsing 'C:\Users\Andy\AppData\Roaming\GIMP\2.99\gimprc' in line 14: invalid value 'convert' for token color-profile-policy
Gimp-Config-Message: 15:24:31.558: There was an error parsing your 'gimprc' file. Default values will be used. A backup of your configuration has been created at 'C:\Users\Andy\AppData\Roaming\GIMP\2.99\gimprc~'.
This is a development version of GIMP. Debug messages may appear here.
I wonder if that was the issue? It exports fine as a JPG from the beta
TIA
Andy
|
|
|
| Get list of distinct pixel RGB values |
|
Posted by: thetalkietoaster - 03-16-2023, 02:00 PM - Forum: Scripting questions
- Replies (3)
|
 |
Hi all,
I'm attempting to write a python script that palette swaps an un-indexed image, as sample colorize doesn't quite seem to have a way to force zero interpolation between colours.
I've got code that iterates across a pixel region pixel-by-pixel using the RowIterator from the colorxhtml.py script, finds the unique colours, arranges them by brightness, then uses gimp_image_select_color and gimp_edit_bucket_fill to replace the colours from drawable 1 with the colours from drawable 2, exactly, in order. All good.
The problem is iterating across the drawables takes way longer than it should - about 30 seconds for a ~250x250px layer. That's a bit much. Is there a way to get a list of unique pixel RGB values easily (ignoring transparency)? The histogram functions seem to work on individual channels.
I guess I could do a nested histogram in 1 channel, select areas for each of the values it took, then histogram each of those sub-areas in the next channel, then repeat again, but that seems like it'd be even less efficient!
Edit: Argh, sorry, I meant to post this in scripting! I don't seem to have the rights to delete it and repost, apologies.
|
|
|
|