LEADTOOLS Color Conversion (Leadtools.ColorConversion assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Start Method
See Also 
Leadtools.ColorConversion Namespace > RasterColorConverterEngine Class : Start Method



srcFormat
Format of the source data.
destFormat
Format of the output data.
parameters
A ConversionParameters object which contains the conversion properties used in the initialization.
srcFormat
Format of the source data.
destFormat
Format of the output data.
parameters
A ConversionParameters object which contains the conversion properties used in the initialization.
Initializes the color conversion engine.

Syntax

Visual Basic (Declaration) 
Public Sub Start( _
   ByVal srcFormat As ConversionColorFormat, _
   ByVal destFormat As ConversionColorFormat, _
   ByVal parameters As ConversionParameters _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterColorConverterEngine
Dim srcFormat As ConversionColorFormat
Dim destFormat As ConversionColorFormat
Dim parameters As ConversionParameters
 
instance.Start(srcFormat, destFormat, parameters)

Parameters

srcFormat
Format of the source data.
destFormat
Format of the output data.
parameters
A ConversionParameters object which contains the conversion properties used in the initialization.

Example

For an example, refer to RasterColorConverterEngine.Startup.

Remarks

The Start method must be called after calling the RasterColorConverterEngine.Startup method and before calling any other LEADTOOLS Color Space methods in the case of indirect conversion.

When the color conversion engine is no longer needed, it should be freed by calling Leadtools.ColorConversion.RasterColorConverterEngine.Stop. For every call to Start there must be a call to Leadtools.ColorConversion.RasterColorConverterEngine.Stop. If parameters is null(Nothing), the default built in conversion is assumed, and any subsequent calls to RasterColorConverterEngine.SetParameters will only affect CMYK conversion parameters. When you choose the conversion method, be sure not to combine the Profiles option (ConversionMethodFlags.ConversionMethodFlags.UseIcc) with the Custom Profiles option (ConversionMethodFlags.ConversionMethodFlags.UseCustomIcc), or the Emulation Tables method (ConversionMethodFlags.ConversionMethodFlags.UseEmulationTables) with the custom Emulation Tables method (ConversionMethodFlags.ConversionMethodFlags.UseCustomEmulationTables).
Supports conversion using ICC Devicelink profiles with option ConversionMethodFlags.UseCustomIcc and using it as input profile.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also