Next Previous Table of Contents
Drawing Modes and Opacity
Drawing modes
- Normal: The default drawing mode.
- Erase: In order to erase choose this drawing mode and then apply the
drawing tools. .
- Background: All drawing operations will only affect transparent
pixels. This is especially usefull when you want to have a gradient in
the background.
- Foreground: All drawing operations will only affect nontransparent
pixels.
- Color: Drawing operations will only change the color of the pixels, the
brightness value is preserved. Transparent pixels are ignored.
- Value: Drawing operations will only change the brightness of the
pixels, the color is preserved. Transparent pixels are ignored.
- Saturation: Drawing operations will only change the saturation of the
pixels, the color is preserved. Transparent pixels are ignored.
(The terms color, value and saturation refer to the HSV color model, which
is sketched at the end of the section mapping colors
and flood fill.)
Opacity
If you set opacity to a value less then 100 %, Babygimp proceeds as
follows: First the RGB value to be drawn pixel is determined according to the
current drawing mode. Then Babygimp draws a weighted mean of this RGB and the
RGB of the image pixel.
When drawing on the background, opacity is ignored.
Example:
Here you see the effect of drawing a filled rectangle in different drawing
mode
Original
Normal
Erase
Background
Foreground
Color
Foreground (low
opacity)
Next Previous Table of Contents