Use Bitmap Effects to add visual interest to rendered Microsoft Windows Presentation Foundation (WPF) content. For example, dress up buttons with a shadow (DropShadowBitmapEffect), or soften images with a blur effect.
Microsoft provides several native effects, like Blur, DropShadow, OuterGlow, Bevel, Emboss. Leadtools.Windows.Media.Effects takes advantage of LEAD's WPF support for over 110 Image Processing Functions like Low- and High-level image processing routines, color adjustment, region processing, image analysis and statistics, adding over 200 custom Bitmap Effects, including including edge, noise, artistic, texture, spatial, color adjustments and 3D.
For Example, this image shows a WPF button, with Microsoft's OuterGlow and LEAD's BricksTexture Bitmap Effects applied:
These image processing functions are separated into four categories: Transforms, Colors/Intensities, Conversions, and Filters.
Key Features:
Change the appearance of the image in a bitmap:
- Rotate the image. (Angles can be precisely specified: to 100ths of a degree.)
- Shear the image in the fashion of a parallelogram. (Angles can be precisely specified: to 100ths of a degree.)
- Change the orientation by flipping the image horizontally or vertically.
Adjust colors and intensities:
- Change brightness using a flat scale.
- Change brightness using gamma correction.
- Change contrast using a flat scale.
- Change contrast using a multi-scale.
- Stretch the range of intensities.
- Remap intensities using a lookup table.
- Invert colors.
- Change hue of the entire image or just a range of colors.
- Change saturation.
- Perform Histogram equalize and histogram contrast operations.
- Fill with a specified color.
- Perform color balancing.
Apply conversions:
- Sharpen or blur.
- Posterize, specifying the number of color planes.
- Apply a mosaic effect, specifying the tile size.
- Apply an embossed effect, specifying the lighting direction.
- Soften an image using an average filter.
- Reduce noise using a median or Gaussian filter.
- Add noise in any or all color planes.
Apply filters to:
- Detect ranges of intensity.
- Detect ranges of colors using different color spaces.
- Detect edges using gradient or Laplacian edge detection.
- Detect lines using Sobel, Prewitt, shift and difference, or line segment detection.
- Apply morphological (binary) filters to erode or dilate black objects.
- Combine images using boolean and arithmetic operators, and color masking. (This is useful for combining filtered images with originals.)
- Apply a sepia or "old photo" look to the image.
- Apply an oil-painting effect.
- Apply 3D effects: Tunnel, plane, plane bend, etc.
- Apply many other effects, including: Swirl, Ripple, Radial Blur, Impressionist, Wave, Shear, Cubism, Glow, Age, etc.
Supported Environments
Leadtools.Windows.Media.Effects comes in Win32 and x64 editions that can support development of software applications for any of the following environments:
- Windows Vista
- Windows XP
- Windows Server 2003
Note that in order for a WPF application to run, Microsoft .Net Framework 3.0 must be installed on the client. Internet Explorer 7 can auto-detect whether Framework is installed under certain conditions. For more information, refer to Deploying a WPF Application (WPF).