|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.xobject.PDInlinedImage
public class PDInlinedImage
This class represents an inlined image.
| Constructor Summary | |
|---|---|
PDInlinedImage()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDInlinedImage()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||