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. |
|
Adds a three-dimensional texture pattern by applying the bump image to the destination image. |
|
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. |
|
Remaps the bitmap into a collection of rotated rectangles (cubic faces), in the Cubist style. |
|
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. |
|
Draws a star on the bitmap. |
|
Simulates painting an image with the watercolor dry brush technique. |
|
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 LBitmap::GetCurvePoints. |
|
Distorts the bitmap by the wave drawn using amplitude values obtained from LBitmap::GetCurvePoints and a specified angle. |
|
Wraps the bitmap onto a 3D plane shaped by pnCurve. |
|
Wraps the bitmap along its radius on a 3D surface shaped by pnCurve. |
|
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. |
|
Divides the image into cells and makes it look as if it is being viewed through glass blocks. |
|
Makes colored edges shine with a neon-like glow. |
|
Makes a bitmap look like it was painted by an impressionist painter. |
|
Simulates the secondary reflections caused when bright lights are facing the camera lens. |
|
Lightens or darkens all or part of a bitmap by remapping the pixel values. |
|
Adds many spots of directed light sources to the bitmap. |
|
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. |
|
Reflects the bitmap on an ocean surface. |
|
Applies an oil-painting effect to a bitmap. |
|
Shifts the bitmap pixels horizontally and vertically. |
|
Gives a bitmap a 3-D depth, as if it exists on a flat plane and has been skewed into a different shape. |
|
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. |
|
Uses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture. |
|
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. |
|
Places the bitmap on parallel planes along the Z-axis bent towards a center point. |
|
Places the bitmap on parallel planes along the Z-axis. |
|
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. |
|
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. |
|
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). |
|
Adds a pseudo-3D wave effect to the bitmap by drawing horizontal lines across the bitmap and basing each lines height at each point on its brightness at that point. |
|
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. |
|
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. |
|
Corrects color values by shifting the sample colors to the target colors. |
|
Divides the bitmap into segments where each segments pixels have approximately the same color (homogenous color). |
|
Smoothes the rough edges in the bitmap. |
|
Applies an effect that mimics the accidental exposure of photographic film to light. |
|
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. |
|
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). |
|
Places the bitmap inside a tunnel along the Z-axis. |
|
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. |
|
Blurs the bitmap along radial lines starting from the specified center point. |
|
Distorts the bitmap with a wave zoomed from the specified center. |
|
Combines two bitmaps so that one appears to be an underlying texture for the other. |
|
Radially distorts the bitmap by creating waves that twist the image around a specified center. |
With any of these functions, except LBitmapBase::Underlay, you can limit the effect to a specified region of interest. For information about regions, refer to Defining and Using a Bitmap Region.
Treating the bitmap as a device context opens up many possibilities for artistic effects. The LBitmapBase::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