[]
Creates and returns the Resampler which converts the input source to one in which all channels have the same number of samples. This is required for colorspace conversions.
public virtual BlkImgDataSrc createResampler(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 resampled BlkImgDataSrc |
Type | Condition |
---|---|
ColorSpaceException | if image contains a bad colorspace box |