- About Graphics Mill
- What's New?
- Breaking Changes in Graphics Mill 12
- Breaking Changes in Graphics Mill 11
- Features
- Supported File Formats
- System Requirements
- Getting Started
- Working with Image Formats
- Transforming Images (Resize, Rotate, Crop)
- Working with Metadata
- Color Management and Color Reduction
- Drawing Text and Graphics
- Color Keying (Green Screen Removal)
- Channels and Pixel Data
- Color and Tone Correction
- Working with Photoshop (PSD) Files
- Image Filters
- Processing Large Images
- Basics of Image Processing
- Troubleshooting
- Class Library Reference
- Aurigma.GraphicsMill Namespace
- Aurigma.GraphicsMill.Codecs Namespace
- Aurigma.GraphicsMill.Codecs.ClippingPath Namespace
- Aurigma.GraphicsMill.Codecs.Psd Namespace
- Aurigma.GraphicsMill.Drawing Namespace
- Aurigma.GraphicsMill.Drawing.Art Namespace
- Aurigma.GraphicsMill.Drawing.Effects Namespace
- Aurigma.GraphicsMill.Licensing Namespace
- Aurigma.GraphicsMill.Templates Namespace
- Aurigma.GraphicsMill.Transforms Namespace
- AddNoise Class
- AdjustHsl Class
- AutoCrop Class
- BezierTransform Class
- Blender Class
- BlenderOnInitEventArgs Class
- BlendMode Enumeration
- Blur Class
- Brightness Class
- BrightnessContrast Class
- ChannelBalance Class
- CnvTransform Class
- ColorConverter Class
- ColorManagementEngine Enumeration
- ColorOverlay Class
- ColorQuantizationAlgorithm Enumeration
- ColorTransformationIntent Enumeration
- CombineMode Enumeration
- Combiner Class
- CombinerOnInitEventArgs Class
- ContiguousBackgroundRemoval Class
- Contrast Class
- Crop Class
- Cylindrize Class
- Desaturate Class
- DistributionKind Enumeration
- DitheringType Enumeration
- EdgeDetect Class
- EdgeDetectMode Enumeration
- Emboss Class
- FadeType Enumeration
- Flip Class
- FlipType Enumeration
- FloodFill Class
- FloodFillMode Enumeration
- GreenScreenRemoval Class
- HistogramEqualize Class
- IBitmapTransform Interface
- ImageTransmitter Class
- InterpolationMode Enumeration
- Invert Class
- Levels Class
- Lut Class
- LutInterpolationMode Enumeration
- LutTransform Class
- MaskTransform Class
- Matrix Class
- MatrixTransform Class
- Maximum Class
- Median Class
- Minimum Class
- Mosaic Class
- RemoveAlpha Class
- Resize Class
- ResizeInterpolationMode Enumeration
- ResizeMode Enumeration
- ResolutionModifier Class
- Rotate Class
- ScaleAlpha Class
- SetAlpha Class
- Shadow Class
- Sharpen Class
- SmartBlur Class
- Solarize Class
- Spray Class
- StackBlur Class
- Texturize Class
- Transform Class
- Transparentize Class
- UnsharpMask Class
- Licensing
- End User License Agreement
- Copyright Notices
CombineMode Enumeration
Contains possible combine modes. They are used when a bitmap is drawn on a window or blended with another bitmap.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
public enum CombineMode
Members
| Member name | Description |
|---|---|
| Add |
Add combine mode. It sums pixel values of the source and overlaying images taking into account their transparency. |
| Alpha |
Alpha combine mode. Each overlaying pixel is blended with the corresponding source pixel. The opacity value of the overlaying image is taken into account. Makes sense only if the overlaying image has alpha channel. |
| AlphaOverlapped |
Alpha overlapped combine mode. The same as Alpha, but the resulting alpha channel is calculated as the maximum between the source and overlaying alpha channels. This mode is useful only when both, the source and the overlaying images have alpha channels. |
| AlphaOverlay |
Alpha overlay combine mode. Allows blending multiple transparent images and supports image reordering without quality loss. |
| And |
AND combine mode. Bitwise AND operation is applied to the source and overlaying colors. |
| Behind |
Behind combine mode. Colors are blended only in the semi-transparent areas of the overlaying image. The opaque areas are ignored. |
| Color |
Color combine mode. Hue and saturation of the resulting color are taken from the overlaying color, and the luminosity is taken from the overlaying color. This mode is useful for tinting images. |
| Copy |
Copy combine mode. Each overlaying pixel replaces the corresponding source pixel. The opacity value is ignored, as a result the transparent zones become black. |
| Difference |
Difference combine mode. The resulting value is the difference between the source and overlaying colors, whichever has the greater luminosity. |
| Divide |
Divide combine mode. The resulting value is source pixel divided by the overlaying one. |
| Hue |
Hue combine mode. The hue of the resulting color is taken from the overlaying color, and the other components, saturation and luminosity, are taken from the source color. |
| IfDarker |
"If Darker" combine mode. The resulting color is defined as the darkest between the colors of source and overlaying images. |
| IfLighter |
"If Lighter" combine mode. The resulting color is defined as the lightest between the colors of source and overlaying images. |
| Invert |
Invert combine mode. The overlaying image is inverted and blended with the source image in the same way as in the Alpha mode. |
| Luminosity |
Luminosity combine mode. The luminosity of the resulting color is taken from the overlaying color, and the other components are taken from the source color. |
| Multiply |
Multiply combine mode. The source color is multiplied by the overlaying one. The resulting value is normalized to the maximum luminosity value. |
| Or |
OR combine mode. Bitwise OR operation is applied to the source and overlaying colors. |
| Overlay |
Overlay combine mode. Depending on the source pixel luminosity the Screen (lightening) or the Multiply (darkening) mode is used to calculate the resulting pixel. The lighter the source pixel, the lighter the resulting pixel; and the darker the source pixel, the darker the resulting pixel. |
| Saturation |
Saturation combine mode. The saturation of the resulting color is taken from the overlaying color, and the other components are taken from the source color. |
| Screen |
Screen combine mode. The overlaying color is inverted and multiplied by the source one. The resulting value is normalized to the maximum luminosity value. |
| Subtract |
Substract combine mode. The source and overlaying colors are added, and then the maximum luminosity value is subtracted from the resulting value. |
| Texturize |
Texturize combine mode. The overlaying image is converted to grayscale and blended with the source image in the same way as in the Alpha mode. |
| Xor |
XOR combine mode. Bitwise XOR operation is applied to the source and overlaying colors. |