public abstract class PDCIEBasedColorSpace extends PDColorSpace
array| Constructor and Description |
|---|
PDCIEBasedColorSpace() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
toRawImage(WritableRaster raster)
Returns the image in this colorspace or null.
|
BufferedImage |
toRGBImage(WritableRaster raster)
Returns the (A)RGB equivalent of the given raster.
|
String |
toString() |
create, create, create, getCOSObject, getDefaultDecode, getInitialColor, getName, getNumberOfComponents, toRawImage, toRGB, toRGBImageAWTpublic BufferedImage toRGBImage(WritableRaster raster) throws IOException
PDColorSpacetoRGBImage in class PDColorSpaceraster - the source rasterIOException - if the color conversion failspublic BufferedImage toRawImage(WritableRaster raster) throws IOException
PDColorSpacePDColorSpace.toRGBImage(WritableRaster) if this returns null.toRawImage in class PDColorSpaceraster - the source rasterIOException - if the image conversion failsCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.