Pixopedia_24 Tutorial   Drawing
  Index page      
  Previous page

Drawing action is primary designed for various shapes and free hand drawings onto image canvas. Foreground color is used as brush color. Foreground color pixels are combined with original image pixels applying one of 20 arithmetic or boolean operations.

  Next page
   
 


Drawing
Simply applying foreground color on whole image is not a primary goal of this action. Main goal is to make possible to draw various shapes as well as free hand brush strokes upon particular image. For more info, see shapes and brushes section. Beside shapes and free hand possibilities, various pixel combining methods are given.

You can choose Edit style, i.e. will pixels be combined with Normal original image pixels or with Complement image pixels.
In last mode, original image pixels are inverted to negative.

Original pixel channel values can be also shifted for desired amount of bits, left or right.
For more info, see bit shifting.

There are also six different modes of color choice:Foreground, Background, Mixed, SolidMix, Gradient and SolidGradient mode.

Normal operation mode uses foreground color to replaces all original colors. When the brush strokes are used colors are combined depending on brush property.

XOR method is used to XOR foreground color with original image pixels.

AND method combines foreground color with original pixels by applying AND boolean operation among them.

OR is the same as above, but instead of AND operation, OR operation is applied.

ADD method simply adds foreground color to original pixels color.

SUB method subtracts foreground color from original pixels color.

cADD method is the same as ordinary addition, but the resultant pixel is limited by applying Circular limitation.

cSUB method is the same as above, but instead of addition, pixels are subtracted.

Higher method performs channels comparison. Resultant channel value is substituted by higher (MaxVal) channel value of pixels compared.
For example: original_pixel: R=20 G=100 B=200; foreground color: R=30 G=50 B=230; resultant pixel: R=30 G=100 B=230;

Lower method is the same as above, but resultant pixel channel value is replaced by lower (MinVal) channel value of pixels compared.

Mean results in pixel that has the mean value of original pixel and foreground color. RP=(OP+FC)/2.

MinMax method compares pixel channels. Resultant pixel has channel values combined in such way that MaxVal of channels compared becomes MaxVal of resultant pixel and MinVal of channels compared becomes MinVal of resultant pixel channel.

Random method resultant in pixel that is randomly chosen between original pixel and foreground color.

 


Equalize performs color vector length calculation of draw color and original picture. Resultant pixel channels are multiplied by vector length ratio:
drawcolor_pixel/ original_pixel.

Burn method is similar to Equalize, but with inverse vector length ratio:
original_pixel/ drawcolor_pixel.

sADD method is the same as ordinary addition, but the resultant pixel is limited by applying SwapColor limitation.

cSUB method is the same as above, but instead of addition, pixels are subtracted.

Multiply performs multiplication between original pixel and foreground color.

Modulo method results in pixel that is calculated as modulo of original pixel and foreground color.

A x B method results in pixel that is calculated as vectorial product of original pixel and foreground color vectors.

Intensity method performs drawing color adjustment according to maximum color value (intensity) of original pixel.

Foreground drawing mode draws shapes in foreground color.

Background drawing mode draws shapes in background color.

Mixed drawing mode draws shapes in both colors. If brush with falloff effect is selected, drawing starts with foreground color and passes to background simultaneously applying falloff effect. If solid brush is selected, shapes are drawn in foreground color, while their borders are drawn in background color.

SolidMix drawing mode is very similar to mixed, except that when brush with falloff effect is chosen, solid shapes are drawn. Falloff amount is used to calculate transition from foreground to background color (gradient). No falloff effect is applied.

Gradient and SolidGradient drawing modes are similar to previous two modes, but instead of background-foreground color combinations, predefined color gradient is used.

Wrap FH check box is used when you want that your free hand drawing wraps around the image when cursor passes the image border. This option is very useful when creating seamless patterns used in tilled backgrounds. When this option is checked, wraping occures.

Applying Drawing Action
If you want to apply Drawing on whole image, after choosing the method, mode and amount of bit shifting, simply press Image button. Drawing will be applied to whole image.

You can apply Drawing through brush movement, contour and mask as well. For shape selection and brush movement refer to shapes and brushes section.

NOTE:
Resultant image is affected by all previously set
global parameters.
Depending on screen resolution, not all methods are visible in list box. List box can be scrolled up or down.