Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
UseColorTransform Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : UseColorTransform Property




Enables or disables converting an RGB image to YUV space before compressing.

Syntax

Visual Basic (Declaration) 
Public Property UseColorTransform As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Boolean
 
instance.UseColorTransform = value
 
value = instance.UseColorTransform
C# 
public bool UseColorTransform {get; set;}
Managed Extensions for C++ 
public: __property bool get_UseColorTransform();
public: __property void set_UseColorTransform( 
   bool value
);
C++/CLI 
public:
property bool UseColorTransform {
   bool get();
   void set (bool value);
}

Return Value

true to convert to YUV space before compressing; false to not convert to YUV space before compressing.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

YUV space provides greater compression with higher image quality.

Requirements

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

See Also