Converts an image from any bits-per-pixel to any bits-per-pixel.
request
A System.Runtime.Serialization.DataContractAttribute containing the data that will be used in this ColorResolution operation.
A System.Runtime.Serialization.DataContractAttribute containing the modified image resulting from the ColorResolution operation.
This operation provides flexibility in specifying the output destination and in specifying the palette to use.
For general information about dithering, refer to Color Resolution and Dithering and Dithering Methods.
You can convert the image in place or create a new converted image.
In specifying a palette, you can use simple palette options, or you can specify a palette that is tailored to your needs. The tailored palette can be any size that you specify. It can include specific colors, reserved blank entries, and open entries that this method fills with optimized colors.
NOTE: Using this operation to change the color order of a 24-bit or 32-bit image (i.e. RGB to BGR) will have no effect on the image when painting or saving (to a file). If you want to change the visual appearance, you can simply swap the color order using the Leadtools.Services.ImageProcessing.DataContracts.ColorResolutionRequest.Order property.
This operation does not support signed data images. An exception will be thrown if a signed data image is passed to this operation.
For more information, refer to Introduction - Palette Handling.
Products |
Support |
Feedback: ColorResolution Method - Leadtools.Services.ImageProcessing.ServiceContracts |
Introduction |
Help Version 19.0.2017.3.22
|