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, toRGBImageAWT
public BufferedImage toRGBImage(WritableRaster raster) throws IOException
PDColorSpace
toRGBImage
in class PDColorSpace
raster
- the source rasterIOException
- if the color conversion failspublic BufferedImage toRawImage(WritableRaster raster) throws IOException
PDColorSpace
PDColorSpace.toRGBImage(WritableRaster)
if this returns null.toRawImage
in class PDColorSpace
raster
- the source rasterIOException
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.