public class PDInlinedImage extends Object
Constructor and Description |
---|
PDInlinedImage() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createImage()
This will take the inlined image information and create a java.awt.Image from
it.
|
BufferedImage |
createImage(Map colorSpaces)
This will take the inlined image information and create a java.awt.Image from
it.
|
byte[] |
getImageData()
Get the bytes for the image.
|
ImageParameters |
getImageParameters()
This will get the image parameters.
|
void |
setImageData(byte[] value)
Set the bytes that make up the image.
|
void |
setImageParameters(ImageParameters imageParams)
This will set the image parameters for this image.
|
public ImageParameters getImageParameters()
public void setImageParameters(ImageParameters imageParams)
imageParams
- The imageParams.public byte[] getImageData()
public void setImageData(byte[] value)
value
- The image data.public BufferedImage createImage() throws IOException
IOException
- If there is an error creating the image.public BufferedImage createImage(Map colorSpaces) throws IOException
colorSpaces
- The ColorSpace dictionary from the current resources, if any.IOException
- If there is an error creating the image.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.