Applying Artistic Effects

Show in webframe

The following command classes are designed specifically for artistic effects:

Class Purpose
AddNoiseCommand Adds random pixels to an image, letting you specify the percentage of coverage and the color plane.
AgingCommand Adds effects that simulate random color changes, scratches, dust and pits, making an image look like it was made from an old film.
AlphaBlendCommand Combines two images with a fixed opacity value to create a new blended image.
BendCommand Wraps the image along the inside or outside of an arc pattern.
BricksTextureCommand Creates a brick texture that makes an image look like it has been drawn on a brick wall.
BumpMapCommand Combines an image with a bump image to create a three-dimensional texture pattern.
CanvasCommand Combines two images, superimposing one image on another image that is used like a canvas.
CloudsCommand Generates randomly different clouds patterns.
ColoredBallsCommand Throws 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.
ColoredPencilCommand Applies an effect to an image that makes it look like it has been drawn with colored pencils.
ColoredPencilExtendedCommand Like 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.
CylinderCommand Warps the image to a cylindrical shape.
DiceEffectCommand Splits 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.
DiffuseGlowCommand Adds a colored glow to an image's light or dark areas, making these areas shine with a neon glow.
DryCommand Simulates painting an image with the watercolor dry brush technique.
EmbossCommand Applies an emboss effect to an image, letting you specify the depth and direction of the effect.
FadedMaskCommand Creates a fade mask image.
FeatherAlphaBlendCommand Combines two images with feathering by using a variable opacity that depends on a fade mask.
FreeHandShearCommand Shears the image by the wave drawn using specified amplitude values.
FreeHandWaveCommand Distorts the image by the wave drawn using specified amplitude values.
FreePlaneBendCommand Wraps the image onto a 3D plane shaped by a Curve.
FreeRadialBendCommand Wraps the image along its radius on a 3D surface shaped by a Curve.
GlassEffectCommand Divides the image into rectangular cells and makes it look as if it is being viewed through glass blocks.
GlowCommand Makes the colored edges shine with a neon glow.
LensFlareCommand Simulates 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.
LightCommand Adds 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.
ImpressionistCommand Makes an image look like it was painted by an impressionist painter.
MosaicCommand Imposes 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.
MosaicTilesCommand Creates 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.
MotionBlurCommand Applies a filter, which creates the illusion of movement in an image.
OceanCommand Reflects the image on an ocean surface.
OilifyCommand Applies an oil-painting effect to an image.
PerlinCommand Uses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture.
PicturizeListCommand Replaces an image with a new image created by combining images present in a list.
PicturizeSingleCommand Picturizes an image using various versions of a single image.
PixelateCommand Divides 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.
PlaneBendCommand Places the image on parallel planes along the Z-axis, and bends the planes toward the center point.
PlaneCommand Places the image on parallel planes along the Z-axis.
PlasmaCommand Applies color patterns that blend into each other like plasma.
PointillistCommand Converts image colors into randomly placed dots to create a pointillist painting.
PolarCommand Converts the image from rectangular to polar coordinates and vice versa.
PosterizeCommand Imposes 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.
PunchCommand Warps the image by pinching it toward the center or expanding the image away from its center.
PuzzleEffectCommand Splits the image into square blocks and randomizes these blocks inside the image.
RingEffectCommand Divides 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.
RadialBlurCommand Rotates the image pixels around a center point.
RadialWaveCommand Distorts an image using a wave radiating from the specified center.
RevEffectCommand Adds 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.
RemapHueCommand Changes an image's hue values using a lookup table.
RemoveRedeyeCommand Replaces 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).
RippleCommand Warps the image in concentric rings.
RomanMosaicCommand Segments the image into rectangular or rounded rectangular tiles and fills them with a color chosen randomly from the colors of the tile's pixels.
SegmentCommand Divides the image into segments where each segment pixels have approximately the same color (homogenous color).
ShadowCommand Adds shadows to an image, letting you specify the threshold value, the direction of the light source, and whether the shadows are colored or grayscale.
SphereCommand Warps the image around a 3D spherical shape.
SwirlCommand Produces a swirl pattern by rotating the image the specified number of degrees about the specified point.
SolarizeCommand Applies an effect that mimics the accidental exposure of photographic film to light.
TextureAlphaBlendCommand Combines 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.
TunnelCommand Places the image inside a tunnel along the Z-axis.
Underlay Combines two images so that one appears to be an underlying texture for the other.
WaveCommand Distorts the image with two perpendicular waves at the specified angle and with the specified wave type.
WindCommand Creates thin lines, directed along the specified angle, on the specified image.
ZoomBlurCommand Blurs the image along radial lines starting from the specified center point.
ZoomWaveCommand Distorts 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.

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.