ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / HeaderDecoder Class / createChannelDefinitionMapper Method
The bit stream reader agent where to get code-block data from.
provides color space information from the image file

In This Topic
    createChannelDefinitionMapper Method
    In This Topic
    Creates and returns the ChannelDefinitonMapper which maps the input channels to the channel definition for the appropriate colorspace.
    Syntax
    'Declaration
     
    
    Public Overridable Function createChannelDefinitionMapper( _
       ByVal src As BlkImgDataSrc, _
       ByVal csMap As ColorSpace _
    ) As BlkImgDataSrc
    public virtual BlkImgDataSrc createChannelDefinitionMapper( 
       BlkImgDataSrc src,
       ColorSpace csMap
    )

    Parameters

    src
    The bit stream reader agent where to get code-block data from.
    csMap
    provides color space information from the image file

    Return Value

    The channel definition mapping object
    Exceptions
    ExceptionDescription
    image access exception
    if image contains a bad colorspace box
    See Also