Provides information about the conversion options.
public class ConversionParameters
Public Class ConversionParameters
public ref class ConversionParameters
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 Image | Dimensions |
---|---|
CMYK to RGB | 289x289 RGB TIF image. |
RGB to CIELab | 190x190 CIELab TIF image. |
CIELab to RGB | 190x190 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 Leadtools.Codecs.RasterCodecs.LoadCmykPlanes(System.IO.Stream,System.Int32,System.Int32). To save the planes as TIFF CMYK, call Leadtools.Codecs.RasterCodecs.SaveCmykPlanes(Leadtools.RasterImage,System.IO.Stream,Leadtools.RasterImageFormat,System.Int32,System.Int32,Leadtools.Codecs.CodecsSavePageMode). For more information, refer to Handling CMYK Files as Separate Images.
Leadtools.ColorConversion Namespace
Handling CMYK Files as Separate Images
RasterColorConverterEngine Class
ConversionWhitePoint Structure
ConversionCmykParameters Structure
![]() |
Products |
Support |
Feedback: ConversionParameters Class - Leadtools.ColorConversion |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.