Leadtools.ColorConversion Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ConversionParameters Class
See Also  Members  
Leadtools.ColorConversion Namespace : ConversionParameters Class



Provides information about the conversion options.

Object Model





Syntax

Visual Basic (Declaration) 
Public Class ConversionParameters 
Visual Basic (Usage)Copy Code
Dim instance As ConversionParameters
C# 
public class ConversionParameters 
C++/CLI 
public ref class ConversionParameters 

Remarks

In the case the conversion is from CMYK to RGB or RGB to/from CIELab, and the ActiveMethod property value is set to ConversionMethodFlags.ConversionMethodFlags.UseCustomEmulationTables, the user should specify the full path to the images in the DestinationInputTable property. The following table shows the image dimensions to be used in the emulation tables that are passed to the DestinationInputTable property.
Conversion ImageDimensions
CMYK to RGB289x289 RGB TIF image.
RGB to CIELab190x190 CIELab TIF image.
CIELab to RGB190x190 RGB TIFF image.
There are cmyk_src_image.tif, rgb_src_image.tif, and lab_src_image.tif images distributed with the library. They can be used and converted, using any tool, to their RGB, CIELab, and RGB equivalents respectively.
When using the custom ICC engine (ConversionMethodFlags.ConversionMethodFlags.UseCustomIcc set in the Method property), there are two ways to specify the source and/or destination profiles: Any combination of the input and output profiles is allowed. For example, a file source profile can be used with a memory destination profile.
If all four options for source and destination profiles are set (InputProfile, OutputProfile, InputProfileData and OutputProfileData), the memory profiles get the highest priority. Therefore, if you set both InputProfile and InputProfileData, only the source specified in InputProfileData will be used. In addition, if only a source profile is provided, either file or memory, without a destination profile, the ICC engine will use a default destination profile.
Note that LEADTOOLS also supports loading TIFF CMYK files without converting the data to BGR. This is done by loading each CMYK plane as a separate page in an Image using LoadCmykPlanes. To save the planes as TIFF CMYK, call SaveCmykPlanes.
For more information, refer to Handling CMYK Files as Separate Images.

Inheritance Hierarchy

System.Object
   Leadtools.ColorConversion.ConversionParameters

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also