Visual Basic (Declaration) | |
---|---|
Public Class RasterColorConverter |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class RasterColorConverter |
C++/CLI | |
---|---|
public ref class RasterColorConverter |
The toolkit supports conversions among RGB, BGR, YUV, CMYK, HSV, HLS, YIQ, CMY, LAB, YCCK, Y41P,
UYVY, YUY2, YVU9, and YCC color spaces.
LEADTOOLS Color Conversion provides two methods to accomplish conversion:
- Direct Conversion: by using ConvertDirect and RasterColorConverter.ConvertDirectToImage(ConversionColorFormat,ConversionColorFormat,Byte[],Int32,RasterImage,Int32,Int32,Int32,Int32) static methods to convert directly between two color spaces.
- Indirect Conversion: by using and filling the ConversionParameters class depending on the conversion process options.
The user may optionally utilize emulation tables.
For more information, refer to Emulation Tables.
System.Object
Leadtools.ColorConversion.RasterColorConverter
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family