[]
Creates and returns the PalettizedColorSpaceMapper which uses the input samples as indicies into a sample palette to construct the output.
public virtual BlkImgDataSrc createPalettizedColorSpaceMapper(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 | a PalettizedColorSpaceMapper instance |
| Type | Condition |
|---|---|
| ColorSpaceException | if image contains a bad colorspace box |