The following functions are designed specifically for artistic effects:
Function |
Purpose |
Adds random pixels to a bitmap, letting you specify the percentage of coverage and the color plane. |
|
Adds shadows to a bitmap, letting you specify the threshold value, the direction of the light source, and whether the shadows are colored or grayscale. |
|
Adds effects that simulate random color changes, scratches, dust and pits, making a bitmap look like it was made from an old film. |
|
Wraps the bitmap along the inside or outside of an arc pattern. |
|
Creates a brick texture that makes the image look like it has been drawn on a brick wall. |
|
Applies an image as an overlay for another image. |
|
Generates different cloud patterns. |
|
Adds colored balls to the bitmap. Various parameters control the color and appearance of the balls. |
|
Applies a colored pencil effect to a bitmap. Brightens the bitmap and enhances its edges. |
|
Applies a colored pencil effect to a bitmap. Brightens the bitmap and enhances its edges. |
|
Warps the bitmap to a cylindrical shape. |
|
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. |
|
Adds a colored glow to a bitmap's light or dark areas, making these areas shine with a neon glow. |
|
Displaces bitmap pixels horizontally and vertically according to the values of the displacement map image. |
|
Applies an emboss effect to a bitmap, letting you specify the depth and direction of the effect. |
|
Averages a bitmap with its shifted copies. |
|
Shears the bitmap by the wave drawn using amplitude values obtained from L_GetCurvePoints. |
|
Distorts the bitmap by the wave drawn using amplitude values obtained from L_GetCurvePoints and a specified angle. |
|
Adds light to the bitmap according to a function-based distribution. This functional light will be generated by one of the following methods: linear, quadratic, sine, cosine, or using freehand points. |
|
Creates a halftone screen effect for an image while keeping its continuous range of tones. |
|
Makes a bitmap look like it was painted by an impressionist painter. |
|
Multiplies the pixels of an image by a kernel, resulting in one of several 3D edge effects being applied to the image. |
|
Imposes a mosaic effect on a bitmap by dividing the bitmap 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. |
|
Divides an image into rectangular or arc-shaped cells with irregular boundaries. This function makes an image look like a mosaic made from tiles. Tiles can be rectangular or arc-shaped, depending upon the coordinate system used to draw the tiles. |
|
Applies a filter, which creates the illusion of movement in an image. |
|
Shifts the bitmap pixels horizontally and vertically. |
|
Applies an oil-painting effect to a bitmap. |
|
Uses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture. |
|
Gives a bitmap a 3-D depth, as if it exists on a flat plane and has been skewed into a different shape. |
|
Divides the bitmap 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. |
|
Applies color patterns that blend into each other like plasma. |
|
Pointillism is a painting technique where the image is composed of tiny, separate dots of primary color. Non primary colors are created by placing primary colors beside each other and allowing the "mixing" to be performed when the image is viewed. This filter creates a similar effect. |
|
Converts the bitmap from rectangular to polar coordinates and vice versa. |
|
Imposes a poster effect on a bitmap by quantizing the bitmap'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. |
|
Warps the bitmap by pinching it toward the center or expanding the bitmap away from its center. |
|
Splits the image into square blocks and randomizes these blocks inside the image. |
|
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 function or can be passed to the function. |
|
Rotates the bitmap pixels around a center point. |
|
Distorts a bitmap using a wave radiating from the specified center. |
|
Changes a bitmap's hue values using a lookup table. |
|
Adds a pseudo-3D wave effect to the bitmap by drawing horizontal lines across the bitmap and basing each line's height at each point on its brightness at that point. |
|
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 bitmap, select a small region around the eye(s). |
|
Warps the image in concentric rings. |
|
Divides the bitmap into rectangular or rounded rectangular cells and then fills each cell with a color chosen randomly from the colors of each tiles pixels. |
|
Divides the bitmap into segments where each segments pixels have approximately the same color (homogenous color). |
|
Warps the image around a 3D spherical shape. |
|
Produces a swirl pattern by rotating the bitmap the specified number of degrees about the specified point. |
|
Applies an effect that mimics the accidental exposure of photographic film to light. |
|
Combines image data from pBitmapMask and pBitmapUnderlay with an underlay effect. The result is used as a fade mask that will be used to combine pBitmapSrc and pBitmapDst with variable opacity. The result is combined again with pBitmapDst using a constant opacity (using nOpacity). |
|
Combines two bitmaps so that one appears to be an underlying texture for the other. |
|
Removes the distortion in an image of a cylindrical object, as if removing a label from off of the cylinder and flattening it out. |
|
Draws a specified shape and feathers it to the bitmap. |
|
Distorts the bitmap with two perpendicular waves at the specified angle and with the specified wave type. |
|
Creates thin lines, directed along the specified angle, on the specified bitmap. |
|
Radially distorts the bitmap by creating waves that twist the image around a specified center. |
|
Blurs the bitmap along radial lines starting from the specified center point. |
|
Distorts the bitmap with a wave zoomed from the specified center. |
With any of these functions, except L_UnderlayBitmap, you can limit the effect to a specified region of interest. For information about regions, refer to Defining and Using a Bitmap Region. Regions are not supported on Windows CE.
Treating the bitmap as a device context opens up many possibilities for artistic effects. The L_CreateLeadDC function lets you get the device context. You can then use the LEADTOOLS special effects functions 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. For details, refer to Implementing Special Effects.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET