[]
Creates and returns the EnumeratedColorSpaceMapper corresponding to the information read from the JP2 image file via the ColorSpace parameter.
public virtual BlkImgDataSrc createColorSpaceMapper(BlkImgDataSrc src, ColorSpace csMap)
| Type | Name | Description |
|---|---|---|
| BlkImgDataSrc | src | The bit stream reader agent where to get code-block data from. |
| ColorSpace | csMap | provides color space information from the image file |
| Type | Description |
|---|---|
| BlkImgDataSrc | The color space mapping object |
| Type | Condition |
|---|---|
| ICCProfileException | if image contains a bad icc profile |
| ColorSpaceException | if image contains a bad colorspace box |