09-16-2018, 08:59 AM
(09-11-2018, 10:16 PM)Ofnuts Wrote:(09-11-2018, 07:36 PM)JK0012 Wrote: So, after testing I figured out, its due to the nature of GIMP relying on layers to write over color values. Each color needs its own layer.
Uh? Black is (0,0,0) so if you want a pixel to be (0,0,0) just paint it black. No need for separate layers.
About your trouble above: it is true that when you erase something on a layer with an alpha channel, Gimp only makes it transparent and doesn't change the RGB values. If you want to erase to RGBA=(0,0,0,0):
- Set the background color to black,
- Remove the layer alpha channel
- Use the eraser
- Layers>Mask>Add layer mask and initialize to Grayscale copy of layer
- Threshold the mask so that anything not 0 becomes 100% opacity
- Apply the mask.
Now the holes are (0,0,0,0)
Great!
I have been long pestered by trying to definitely remove the color information from an erased background--it kept cropping up at unlikely moments to mess things--especially on the boundary of the alpha channel of the particular layer. This method ensures that, at least, one KNOWS what is there.
Thanks!