Visual Basic (Declaration) | |
---|---|
Public Class RasterColorConverter |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class RasterColorConverter |
Managed Extensions for C++ | |
---|---|
public __gc 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family