20

when I do a canvas resize of an image, it leaves a new transparent area. I would like to fill that area with a color but Gimp 2.8 won't allow me to select it to fill it. I must be missing a step. Please help.

2

2 Answers 2

15

Command in menu Image -> Flatten Image will fill transparent area with current background color selection (as hinted by pop-up help when you select it - "... remove transparency"), making exactly what you asked in one simple step (tested in Gimp 2.8).

0
8

You cannot fill outside the boundaries of the layer. If initially your layer is the size of the canvas and you scale it down, it will be smaller than the canvas so there are areas around it that you won't be able to fill. Two solutions:

  1. Add a canvas-size layer below it and paint that layer
  2. Use Layer>Layer to image size to enlarge the layer so that it fills the canvas
  3. (*) Use Image>Fit canvas to layers to shrink the canvas around the layer so the fill isn't needed.

(*) The Spanish Inquisition made me do it.

1
  • this answer explains why gimp is behaving this way, so it's the best one -- thanks Sep 17, 2021 at 18:09

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.