java.lang.Objectcom.pdfjet.PNGImage
public class PNGImage
Used to embed PNG images in the PDF document.
Please note:
Interlaced images are not supported.
To convert interlaced image to non-interlaced image use OptiPNG:
optipng -i0 -o7 myimage.png
Constructor Summary | |
---|---|
PNGImage(java.io.InputStream inputStream)
Used to embed PNG images in the PDF document. |
Method Summary | |
---|---|
byte[] |
getAlpha()
|
int |
getBitDepth()
|
int |
getColorType()
|
byte[] |
getData()
|
int |
getHeight()
|
int |
getWidth()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PNGImage(java.io.InputStream inputStream) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public int getWidth()
public int getHeight()
public int getColorType()
public int getBitDepth()
public byte[] getData()
public byte[] getAlpha()