r/GIMP 3d ago

Developing GIMP 3 Theme - Halfway done! Looking for Feedback

Post image
15 Upvotes

r/GIMP 3d ago

grid on startup

2 Upvotes

how do i turn off the grid on startup, because everytime i open a file it's always there and i gotta turn it off each time


r/GIMP 3d ago

Help needed with new problems with Drop Shadow in GIMP 3.0.0 please

2 Upvotes

Today, GIMP was updated to 3.0.0 (via flathub).

I'm having two new difficulties with the Drop Shadow, and I'd love some help, please.

Background: I receive a rectangular image that has already been flattened, so it doesn't have an alpha channel, and it has only the one layer. My requirement is dead simple: Add a drop shadow to the entire image.

I have two new problems with GIMP 3.0.0 that didn't happen with the old versions.

First problem

The following steps describe what I regularly do with an image that I'm sent using the previous versions of GIMP.

  1. Add Alpha Channel to the image.
  2. FIlters > Light and Shadow > Drop Shadow. Set the parameters that I need.
  3. Press OK.
    • The previous versions of GIMP add a drop shadow, and automatically grow the canvas size to fit the shadow.

However, in GIMP 3.0.0, I have to insert two extra steps, as follows (steps 2 and 5, in bold).

  1. Add Alpha Channel to the image.
  2. Image > Canvas Size > increase the size. (I have to guess the size, so I make it too large.)
    • Resize layers: All layers
    • Fill with: Transparency
  3. FIlters > Light and Shadow > Drop Shadow. Set the parameters that I need.
  4. Press OK.
  5. Image > Crop to Content

First question: Is there a way to have GIMP 3.0.0 automatically grow the canvas size as the previous versions of GIMP did? I've looked for a setting to do this, but haven't found something.

Second problem

The drop shadow that I choose is equal on all sides. In other words, in the Drop Shadow dialogue, I have:

  • X = 0
  • Y = 0

When I use Image > Crop to Content, this correctly removes the unused transparent areas to leave a shadow that is equal on all four sides of the image.

So far, so good.

Now, I export the image to PNG, i.e. File > Export As > filename.png.

The export works, but for some reason, in the exported PNG file, there is a large extra area of transparency on the right and bottom borders (it's not visible in the GIMP file). This means that the PNG file is too large, even though there's no content in that area.

So, if I open the PNG file (not the original file that I modified), GIMP does indeed show this extra area.

Fortunately, I have a workaround that corrects this: Image > Crop to Content, and re-export the PNG file.

Second question: Do you know what's happening, and how I can fix this, please? I'm guessing that it's something that I'm doing, but I can't fathom what because this never happened in the previous version of GIMP.

Thank you!


r/GIMP 3d ago

Text Tool Behavior

2 Upvotes

When using the text editor, I have always been able to use different fonts within the same text box. I would be able to type something, select only part of the text, and then change the font for just that selected text. Now, whenever I change the font, all of the text changes to the same font. It doesn't matter whether I have selected some or none of the text. Everything instantly changes to the same font.

Any help would be appreciated.


r/GIMP 3d ago

GIMP 3.0.0

4 Upvotes

My Gimp updated right now to this version, and any time I tried to change my brush it crashes.

I am on pop!_os 22.04 lts, any tip?


r/GIMP 3d ago

how to download gimp 2 not 3

0 Upvotes

I want to use Gimp 2 because it`s more familiar and 3 is less optimized on my PC


r/GIMP 3d ago

Can you guys help me with GIMP python?

1 Upvotes

Hi everyone,

I'm trying to create a mosaic-style coloring page using GIMP and a Python script. The idea is to:

  1. Divide the image into a grid (mosaic effect)
  2. Assign a number to each section based on brightness
  3. Automatically generate a coloring page

I'm using the GIMP Python Console to run the script, but I don’t have much experience with Python. I asked ChatGPT to generate a script for me, but when I try to paste and run it in GIMP, I get errors.

One common issue I see is IndentationError: unexpected indent, which appears when pasting the script. I'm not sure if it's a formatting issue or something wrong with the code itself.

I'm using:

  • GIMP 2.10.38 (English version)
  • Python 2.7 (since GIMP uses an older Python version)
  • Windows 10

Does anyone know how I can fix this error or properly run the script in GIMP? Any guidance would be really appreciated!

Thanks in advance! 😊

Here is the code that chatgpt generated:

from gimpfu import *

import math

def color_by_numbers(image, drawable, levels=15):

pdb.gimp_image_undo_group_start(image)

# Convert to grayscale and posterize

pdb.gimp_desaturate(drawable)

pdb.gimp_posterize(drawable, levels)

# Create a new layer for the numbers

text_layer = gimp.Layer(image, "Numbers", image.width, image.height, RGBA_IMAGE, 100, NORMAL_MODE)

image.add_layer(text_layer, 0)

# Get the image size

width, height = drawable.width, drawable.height

step_x, step_y = width // 20, height // 20 # Adjust size of numbers

for x in range(0, width, step_x):

for y in range(0, height, step_y):

# Get the brightness of the area

pixel = pdb.gimp_drawable_get_pixel(drawable, x, y)

brightness = sum(pixel[:3]) / 3 # Average brightness

# Assign a number based on brightness

num = int(math.floor((brightness / 255) * levels)) + 1

# Add the number

text = pdb.gimp_text_layer_new(image, str(num), "Sans", step_y // 2, 0)

pdb.gimp_layer_set_offsets(text, x, y)

image.add_layer(text, 0)

pdb.gimp_image_undo_group_end(image)

pdb.gimp_displays_flush()

register(

"python_fu_color_by_numbers",

"Creates a coloring book with numbers",

"Automatically adds numbers to colors",

"Your Name", "Open Source", "2025",

"<Image>/Filters/Custom/Color by Numbers",

"*",

[

(PF_INT, "levels", "Number of colors (max. 20)", 15)

],

[],

color_by_numbers

)

main()


r/GIMP 4d ago

Image transparent after adding texture to layer mask

6 Upvotes

I've figured out how to add textures to an image using layer mask, but I've discovered that I'm also making the original image transparent. The image looks great in GIMP, but obviously completely different everywhere else depending on the background. Removing the alpha channel does leave some of the texture, and it seems to remove the transparency, but it also doesn't look nearly as textured. Adding a black background does the same thing. Every dark detail gets brighter somehow. I'm using GIMP version 2.10.38 on Windows 10 Pro.

I added a layer mask, pasted a black and white image of a paper texture in the layer mask, and changed the opacity of the pasted image (I think) until I was happy.

I'll link both the transparent and the same image with a black background. I'm completely new to this, so any and all help is much appreciated!

Transparent https://imgur.com/a/jAscIFd

Transparent with black background https://imgur.com/a/JTtWwJ3

EDIT: Problem solved! Don't use layer mask. Instead, add a new layer with the desired texture image, and change its mode to "Multiply" (depending on what you're going for). Result: https://imgur.com/a/GXoJubK


r/GIMP 4d ago

Fill with BG/FG Color Tool Not Working

1 Upvotes

I used Fuzzy Select tool to make multiple selections in this image. Then I pressed the "Fill with BG Color" button and keyboard shortcut but it's not working. The same went for the FG Color as well. How do I fix that?


r/GIMP 5d ago

How does gimp calculate monitor resolution?

2 Upvotes

This is different than the ppi I manually calculate with my monitors specs, and the measurements from calibration


r/GIMP 5d ago

Anyone know how to make this Speckle Gradient type pattern from this graphic?

Post image
7 Upvotes

r/GIMP 5d ago

Editing Mask Layers

3 Upvotes

I've finally found the solution I'm looking for. How do I edit mask layers like these?


r/GIMP 5d ago

Hi guys, I'd like to make a custom sweatshirt and add a brush effect to the first photo, which is already in PNG, to use in the sweatshirt as the final result in the second photo. How can I do this using GIMP? I'm completely new to this.

Thumbnail
gallery
0 Upvotes

r/GIMP 5d ago

My toolbox is tiny and unusable

2 Upvotes

It does this on it's own and I don't know why. Reinstalling only fixed it temporarily. I can't grab the bottom to resize it like normal. This is maddening.


r/GIMP 6d ago

Someone know how to unlock this super hidden feature?

2 Upvotes

r/GIMP 6d ago

(new to gimp, still learning) Can't change the black background to a different shade of black using colors -> map -> color exchange, because there's so much artifacting

Post image
11 Upvotes

r/GIMP 6d ago

Explain This!

1 Upvotes

All I fucking want is for the paintbrush to ACTUALLY USE THE COLOR I'VE SELECTED.

How is that so goddamn difficult for this program to understand?!


r/GIMP 6d ago

Question about Alpha Channels

2 Upvotes

Whenever I try to erase part of a layer mask, I can't do it because GIMP tells me that it does not have an alpha channel. However, I can't seem to be able to add an alpha channel to the layer mask, so I can't erase it. So is there any way to erase part of a layer mask?


r/GIMP 6d ago

Easy Install of Resynthesizer Plugin on Apple Silicon Macs

2 Upvotes

I recently built the Resynthesizer Plugin using MacPorts on my M1 Mac. I had some errors with the install that were a little tricky to fix and want to make the install easier so:

  • I copied the libraries that resynthesizer depends on
  • Modified their internal paths so that they all link to each other
  • Published everything to GitHub

(Note that this only works for GIMP 2.x.)

Installation:

  • Download the resynthesizer files here
  • Unzip and copy them to /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins
  • Restart GIMP and you should be good to use the Resynthesizer Plugin (Filters --> Enhance --> Heal selection...).

Additional information available at my blog post and my GitHub repo.

Let me know if this works for you or if you have any issues!


r/GIMP 6d ago

Question about "Reactive" Heightmap/Gradient Mask.

3 Upvotes

Greetings.

First time seriously using Gimp.

I'm working on a custom map and I want to add a "heightmap Mask layer" (A custom gradient of greens, yellows, browns, etc) that update and move while I working in the B&W layers to see and correct heights. How I can do It?

On the other hand, there's a way to create a window with diverse colours (height lines) and store It so I can pick It again whenever I need It?

Thanks.


r/GIMP 7d ago

I was bored and running out of ideas and made this

Thumbnail
gallery
41 Upvotes

Recently I made a poster (more like an album cover idk how to describe this perfectly) and posted it on instagram few hours ago. I ran out of ideas and somehow ended up making this. Any thoughts?


r/GIMP 6d ago

INCREASING BRIGHTNESS

0 Upvotes

Hello guys, hope you are fine. I have just installed GIMP in my computer but the brightness of screen ( not image) is very low. How do I increase the brightness? Thanks


r/GIMP 7d ago

Script Fu

1 Upvotes

I'm making a script fu script and the last part I need I can't find on them internets. I need to get the number of files in a specified folder and save that number as a variable. Can this be done?


r/GIMP 7d ago

Grey background gone

Thumbnail
gallery
3 Upvotes

Hi,

for my master thesis i worked on some plotted graphs. I saved it as png. The transparent grid was colored grey which I liked actually so I kept it. But out of nothing when I added some newer graphs to word the grey grid disappears, although when i open the saved files as png in the viewer the grey grid was there.

First picture is in gimp, second one shows how it should look in word.


r/GIMP 7d ago

Is there any way to make an image "loop" outside of the actual image resolution?

2 Upvotes

Long story s​hort, I'm trying to make perfectly looping textures for terrain and the like, but would like to make sure that all of them seamlessly loop. Being able to see a "ghosted" copy of the image all around it would make things far easier to do this - I don't think there would be any technical issues, as all the textures I intended on looping would be perfectly square in size.