ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.quantization.quantizer Namespace / Quantizer Class / createInstance Method
The source of data to be quantized
Encoder specifications

In This Topic
    createInstance Method (Quantizer)
    In This Topic
    Creates a Quantizer object for the appropriate type of quantization specified in the options in the parameter list 'pl', and having 'src' as the source of data to be quantized. The 'rev' flag indicates if the quantization should be reversible. NOTE: At the moment only sources of wavelet data that implement the 'CBlkWTDataSrc' interface are supported.
    Syntax
    'Declaration
     
    
    Public Shared Function createInstance( _
       ByVal src As CBlkWTDataSrc, _
       ByVal encSpec As EncoderSpecs _
    ) As Quantizer
    public static Quantizer createInstance( 
       CBlkWTDataSrc src,
       EncoderSpecs encSpec
    )

    Parameters

    src
    The source of data to be quantized
    encSpec
    Encoder specifications
    Exceptions
    ExceptionDescription
    If an error occurs while parsing the options in 'pl'
    See Also