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

In This Topic
    createPalettizedColorSpaceMapper Method
    In This Topic
    Creates and returns the PalettizedColorSpaceMapper which uses the input samples as indicies into a sample palette to construct the output.
    Syntax
    'Declaration
     
    
    Public Overridable Function createPalettizedColorSpaceMapper( _
       ByVal src As BlkImgDataSrc, _
       ByVal csMap As ColorSpace _
    ) As BlkImgDataSrc
    public virtual BlkImgDataSrc createPalettizedColorSpaceMapper( 
       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

    a PalettizedColorSpaceMapper instance
    Exceptions
    ExceptionDescription
    image access exception
    if image contains a bad colorspace box
    See Also