Note: |
Arithmetic calculations in this table assume 24-bit image data. |
The following flags define how to treat the source rectangle:
Value |
Meaning |
No change. |
|
Invert the color, resulting in its complement. |
|
Change all bits to 0. |
|
Change all bits to 1. |
The following flags define how to treat the destination rectangle:
Value |
Meaning |
No change. |
|
Invert the color, resulting in its complement. |
|
Change all bits to 0. |
|
Change all bits to 1. |
The following flags define which operation to use when combining the data:
Value |
Meaning |
Combine each set of bytes using a bitwise AND (&). |
|
Combine each set of bytes using a bitwise OR ( ¦ ). |
|
Combine each set of bytes using a bitwise exclusive OR (^). |
|
Add the byte values, allowing a maximum of 255. |
|
Subtract the source from the destination, allowing a minimum of 0. |
|
Subtract the destination from the source, allowing a minimum of 0. |
|
Multiply the byte values, allowing a maximum of 255. The result is calculated as follows: result = (source * dest) / 255. |
|
Divide the destination by the source. If source > 0, then the result is calculated as follows: result = min( (dest / source) * 255, 255 ). Otherwise, if source = 0, then result = 255. |
|
Divide the source by the destination. If dest > 0, then the result is calculated as follows: result = min( (source / dest) * 255, 255 ). Otherwise, if dest = 0, then result = 255. |
|
Use the average of the two values. |
|
Use the lesser of the two values. |
|
Use the greater of the two values. |
The following flags define how to treat the resulting image rectangle:
Value |
Meaning |
No change. |
|
Invert the color, resulting in its complement. |
|
Change all bits to 0. |
|
Change all bits to 1. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.