| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,020
» Latest member: AjWadd
» Forum threads: 7,749
» Forum posts: 42,101
Full Statistics
|
| Latest Threads |
an iOS app that assists p...
Forum: Other graphics software
Last Post: zzh
5 hours ago
» Replies: 5
» Views: 567
|
Cropping Image
Forum: General questions
Last Post: rinaldop
Yesterday, 01:17 PM
» Replies: 4
» Views: 231
|
Too many fonts - where ar...
Forum: General questions
Last Post: rich2005
Yesterday, 09:45 AM
» Replies: 1
» Views: 153
|
Alivecolors
Forum: Other graphics software
Last Post: denzjos
Yesterday, 08:27 AM
» Replies: 0
» Views: 98
|
gimp 3 and 8bf files
Forum: Extending the GIMP
Last Post: denzjos
12-24-2025, 02:03 PM
» Replies: 0
» Views: 123
|
Preferences/Folders shows...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: programmer_ceds
12-24-2025, 10:08 AM
» Replies: 5
» Views: 3,055
|
Problems with AppImages.
Forum: Installation and usage
Last Post: teapot
12-23-2025, 07:45 PM
» Replies: 2
» Views: 365
|
Why am'I fighting with GI...
Forum: Linux and other Unixen
Last Post: NetWeeZurd
12-23-2025, 01:44 AM
» Replies: 2
» Views: 210
|
Can tooltip display time ...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: NetWeeZurd
12-23-2025, 01:40 AM
» Replies: 4
» Views: 1,336
|
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
12-21-2025, 10:19 PM
» Replies: 19
» Views: 1,054
|
|
|
| PNG vs JPG color off by 1 |
|
Posted by: af_luther - 06-16-2021, 11:08 PM - Forum: General questions
- Replies (7)
|
 |
I am automating a process in Python and I am loading a PSD into GIMP, changing a fill layer's color, and then exporting the result to JPG and PNG.
I am setting the fill layer to a light grey #3F3F3F (63,63,63). e.g. with
Quote:gimp_color = gimpcolor.RGB(int(rgb[0]), int(rgb[1]), int(rgb[2]))
pdb.gimp_context_set_foreground(gimp_color)
mylayer.fill(FILL_FOREGROUND)
The JPG output has that same color as expected (#3F3F3F).
The PNG output has changed that area to #3E3E3E (62,62,62).
Some other color areas I set are also off by 1 in the PNG, but not the JPG. Out of 6 different fill layers, 4 are correct and 2 are off.
I would like to correct this. In fact, I was thinking PNG would be better because I do have some artifacts in the JPG where the compression changes things a bit and the PNG should be lossless.
I noticed these messages in the output which I thought might be related:
Quote:gimp_color_transform_new: using babl for 'sRGB IEC61966-2.1' -> 'GIMP built-in sRGB'
gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'sRGB IEC61966-2.1'
gimp_color_transform_new: using babl for 'sRGB IEC61966-2.1' -> 'GIMP built-in sRGB'
gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'sRGB IEC61966-2.1'
gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'sRGB IEC61966-2.1'
void gimp_gegl_convert_color_profile(GeglBuffer*, const GeglRectangle*, GimpColorProfile*, GeglBuffer*, const GeglRectangle*, GimpColorProfile*, GimpColorRenderingIntent, gboolean, GimpProgress*): converting buffer took 0.0109 seconds
Any tips on how I can avoid this issue of the color values in the PNG export being slightly off from what I set?
The two places I am seeing the "wrong" value in the PNG is (1) loading it into Paint.net and (2) in a WebGL shader that uses it as a texture. In both of those programs the values I am seeing are the same.
|
|
|
| Fore-/Background Color tool very small |
|
Posted by: Ced_ - 06-15-2021, 09:28 PM - Forum: General questions
- Replies (1)
|
 |
Hello, newbie here,
I was setting up Gimp and noticed that the Foreground- and Background Color tool (beneath the toolbox icons) is incredibly small for me.
Is there any way to increase it's size? I found nothing on google about that, just about the size of the toolbox icons.
I use an 1440p monitor. Could it have anything to do with that resolution? Altough, on my second monitor (1080p) the tool is even smaller.
|
|
|
| How to adjust filling pattern |
|
Posted by: snowforest - 06-14-2021, 11:50 AM - Forum: General questions
- Replies (2)
|
 |
If I want to apply gradient filling, it automatically starts from black and goes to white. But I do not want it to start from that dark. How can I adjust the start and finish colors of gradient fill? I see the box but it looks very complex and nothing happens no matter what I do and first of all the escape button doesnt work in gimp.
Once I am done with filling how do I get rid of dashed lines around the selected area? Escape button doesnt work
|
|
|
| Some XCF and PNG exports are bloated |
|
Posted by: GMP - 06-14-2021, 01:47 AM - Forum: General questions
- Replies (4)
|
 |
I'm using 2.10.24 Yesterday after importing 73 meg PNG file into GIMP the XCF file became really bloated - 698 meg and the PNG I exported from this was 397 meg. I think the reason this is occurring is sometimes some pics are too small so I need to scale the layer much higher, sometimes over 100,000 px. Does scaling increase the file size quite a bit?
When this occurs GIMP is super slow at saving the file or exporting a file. Recently when this happened I noticed that most of the files I've been creating lately, which are all similar faces swaps, are fairly small XCF files (5-100 meg) and small PNG's (1-35 meg) are created from the export.
I use Photo Gallery to view my pics and want them to be about the same size for a slide show. After I make changes in GIMP I always open the pic in PhotoWorks, which is a program with some time saving photo correction and altering tools. I then save as a PNG and I open it again in GIMP for final fixes.
As a temporary fix I used the Snipping Tool to create a new PNG file from the 397 meg and it's a small 682 KB PNG file - 500x smaller
I think the PNG file somehow got corrupted. Is there a way to fix a file that opens in GIMP but is corrupted in some way? or do I just need to use the Snipping Tool? Or can the export the scale the pic larger?
|
|
|
| After typing text, i cannot unselect |
|
Posted by: snowforest - 06-13-2021, 04:50 PM - Forum: General questions
- Replies (1)
|
 |
Lets say I have an image and I type a text on it. After I am done, Its box keeps appearing on the screen with dashed lines. How can I deselect it? Because after that when I draw a line on the image, I cannot, and I can only draw inside the text box, well I am done with the text box but I cannot deselect it. This is very counterintuitive. I even tried to select all with the hope that I will select everything but the text box still keep appearing with its nice dashed lines, and now in addition I cannot deselect what I selected. And escape button seems to do nothing in GIMP. I just started to use gimp and so far it is counterintuitive. All I want is to type a text, deselect it, and draw a line on the other part of the image.
|
|
|
|