Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Applying Artistic Effects

The following command classes are designed specifically for artistic effects:

ClassPurpose
AddNoiseCommandAdds random pixels to an image, letting you specify the percentage of coverage and the color plane.
AgingCommandAdds effects that simulate random color changes, scratches, dust and pits, making an image look like it was made from an old film.
AlphaBlendCommandCombines two images with a fixed opacity value to create a new blended image.
BendCommandWraps the image along the inside or outside of an arc pattern.
BricksTextureCommandCreates a brick texture that makes an image look like it has been drawn on a brick wall.
BumpMapCommandCombines an image with a bump image to create a three-dimensional texture pattern.
CanvasCommandCombines two images, superimposing one image on another image that is used like a canvas.
CloudsCommandGenerates randomly different clouds patterns.
ColoredBallsCommandThrows colored balls over the image. The resulting color of the ball is a combination of ball color and the color of the pixel where it has fallen with certain opacity.
ColoredPencilCommandApplies an effect to an image that makes it look like it has been drawn with colored pencils.
ColoredPencilExtendedCommandLike ColoredPencilCommand, this function applies an effect to an image that makes it look like it has been drawn with colored pencils. However this function has more parameters, like ones for paper roughness, pencil stroke length, pencil roughness, etc.
CylinderCommandWarps the image to a cylindrical shape.
DiceEffectCommandSplits the image into square or rectangular blocks. If the blocks are square, rotates each block by 0, 90, 180, or 270 degrees. If the blocks are rectangular, flips the blocks around the X-axis and Y-axis.
DiffuseGlowCommandAdds a colored glow to an image's light or dark areas, making these areas shine with a neon glow.
DryCommandSimulates painting an image with the watercolor dry brush technique.
EmbossCommandApplies an emboss effect to an image, letting you specify the depth and direction of the effect.
FadedMaskCommandCreates a fade mask image.
FeatherAlphaBlendCommandCombines two images with feathering by using a variable opacity that depends on a fade mask.
FreeHandShearCommandShears the image by the wave drawn using specified amplitude values.
FreeHandWaveCommandDistorts the image by the wave drawn using specified amplitude values.
FreePlaneBendCommandWraps the image onto a 3D plane shaped by a Curve.
FreeRadialBendCommandWraps the image along its radius on a 3D surface shaped by a Curve.
GlassEffectCommandDivides the image into rectangular cells and makes it look as if it is being viewed through glass blocks.
GlowCommandMakes the colored edges shine with a neon glow.
LensFlareCommandSimulates the secondary reflections caused when bright lights are facing the camera lens. The lens flare is refracted into a series of lightened circles that surround the flare.
LightCommandAdds light to the image according to a method-based distribution. This method al light will be generated by one of the following methods: linear, quadratic, sine, cosine, or using freehand points.
ImpressionistCommandMakes an image look like it was painted by an impressionist painter.
MosaicCommandImposes a mosaic effect on an image by dividing the image into tiles of a specified size and changing the color of all pixels in each tile to the average color of pixels within the tile.
MosaicTilesCommandCreates a mosaic effect on an image by dividing an image into rectangular or arc-shaped cells with irregular boundaries and modifying the color of each cell.
MotionBlurCommandApplies a filter, which creates the illusion of movement in an image.
OceanCommandReflects the image on an ocean surface.
OilifyCommandApplies an oil-painting effect to an image.
PerlinCommandUses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture.
PicturizeListCommandReplaces an image with a new image created by combining images present in a list.
PicturizeSingleCommandPicturizes an image using various versions of a single image.
PixelateCommandDivides the image into rectangular or circular cells and then recreates the image using those cells filled with the minimum, maximum, or average pixel value, depending upon the effect that was set.
PlaneBendCommandPlaces the image on parallel planes along the Z-axis, and bends the planes toward the center point.
PlaneCommandPlaces the image on parallel planes along the Z-axis.
PlasmaCommandApplies color patterns that blend into each other like plasma.
PointillistCommandConverts image colors into randomly placed dots to create a pointillist painting.
PolarCommandConverts the image from rectangular to polar coordinates and vice versa.
PosterizeCommandImposes a poster effect on an image by quantizing the image's colors to a specified number of color levels per plane. For example, two levels means two of red, two of green, and two of blue.
PunchCommandWarps the image by pinching it toward the center or expanding the image away from its center.
PuzzleEffectCommandSplits the image into square blocks and randomizes these blocks inside the image.
RingEffectCommandDivides the image into a certain number of rings. Each ring is rotated according to a rotate angle. The rotate angle for each ring will be chosen randomly by the method or can be passed to the method.
RadialBlurCommandRotates the image pixels around a center point.
RadialWaveCommandDistorts an image using a wave radiating from the specified center.
RevEffectCommandAdds a pseudo-3D wave effect to the image by drawing horizontal lines across the image and basing each line height at each point on its brightness at that point.
RemoveRedeyeCommandReplaces the red component of the pixels with the specified color. To replace only the red component for those pixels in the eyes of the image, select a small region around the eye(s).
RippleCommandWarps the image in concentric rings.
RomanMosaicCommandSegments the image into rectangular or rounded rectangular tiles and fills them with a color chosen randomly from the colors of the tile’s pixels.
SegmentCommandDivides the image into segments where each segment pixels have approximately the same color (homogenous color).
ShadowCommandAdds shadows to an image, letting you specify the threshold value, the direction of the light source, and whether the shadows are colored or grayscale.
SphereCommandWarps the image around a 3D spherical shape.
SwirlCommandProduces a swirl pattern by rotating the image the specified number of degrees about the specified point.
SolarizeCommandApplies an effect that mimics the accidental exposure of photographic film to light.
TextureAlphaBlendCommandCombines image data from two images with an underlay effect. The result is used as a fade mask that will be used to combine the two images with variable opacity. The result is combined again with the destination image using a constant opacity.
TunnelCommandPlaces the image inside a tunnel along the Z-axis.
UnderlayCombines two images so that one appears to be an underlying texture for the other.
WaveCommandDistorts the image with two perpendicular waves at the specified angle and with the specified wave type.
WindCommandCreates thin lines, directed along the specified angle, on the specified image.
ZoomBlurCommandBlurs the image along radial lines starting from the specified center point.
ZoomWaveCommandDistorts the image with a wave zoomed from the specified center.

With any of these methods, except Underlay, you can limit the effect to a specified region of interest. For information about regions, refer to Defining and Using a Region.

Treating the image as a device context opens up many possibilities for artistic effects. The CreateLeadDC method lets you get the device context. You can then use the LEADTOOLS special effects command classes to combine images in interesting ways. For example, when painting one image on top of another, you could specify a multi-pass paint with a brush effect; then quit before finishing all of the passes. The result would be a blending of the two images.