public class PDInlinedImage
extends java.lang.Object
Constructor | Description |
---|---|
PDInlinedImage() |
Modifier and Type | Method | Description |
---|---|---|
java.awt.image.BufferedImage |
createImage() |
This will take the inlined image information and create a java.awt.Image from
it.
|
java.awt.image.BufferedImage |
createImage(java.util.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 java.awt.image.BufferedImage createImage() throws java.io.IOException
java.io.IOException
- If there is an error creating the image.public java.awt.image.BufferedImage createImage(java.util.Map colorSpaces) throws java.io.IOException
colorSpaces
- The ColorSpace dictionary from the current resources, if any.java.io.IOException
- If there is an error creating the image.