[]
        
(Showing Draft Content)

CSJ2K.Color.EsRgbColorSpaceMapper

EsRgbColorSpaceMapper Class

This decodes maps which are defined in the e-sRGB colorspace into the sRGB colorspace.

Inheritance
EsRgbColorSpaceMapper
Implements
Namespace: CSJ2K.Color
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class EsRgbColorSpaceMapper : ColorSpaceMapper, BlkImgDataSrc, ImgData

Constructors

Name Description
EsRgbColorSpaceMapper(BlkImgDataSrc, ColorSpace)

Ctor which creates an ICCProfile for the image and initializes all data objects (input, working, and output).

Methods

Name Description
ToString()

Return a suitable String representation of the class instance.

createInstance(BlkImgDataSrc, ColorSpace)

Factory method for creating instances of this class.

getCompData(DataBlk, int)
<p>Returns, in the blk argument, a block of image data containing the

specifed rectangular area, in the specified component. The data is returned, as a copy of the internal data, therefore the returned data can be modified "in place".

The rectangular area to return is specified by the 'ulx', 'uly', 'w' and 'h' members of the 'blk' argument, relative to the current tile. These members are not modified by this method. The 'offset' of the returned data is 0, and the 'scanw' is the same as the block's width. See the 'DataBlk' class.

If the data array in 'blk' is 'null', then a new one is created. If the data array is not 'null' then it is reused, and it must be large enough to contain the block's data. Otherwise an 'ArrayStoreException' or an 'IndexOutOfBoundsException' is thrown by the Java system.

The returned data has its 'progressive' attribute set to that of the input data.

getInternCompData(DataBlk, int)