Package net.atthegate.server.service.pdf
Class PNGImage
java.lang.Object
net.atthegate.server.service.pdf.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
ConstructorsConstructorDescriptionPNGImage
(InputStream inputStream) Used to embed PNG images in the PDF document. -
Method Summary
-
Constructor Details
-
PNGImage
Used to embed PNG images in the PDF document.- Throws:
Exception
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getColorType
public int getColorType() -
getBitDepth
public int getBitDepth() -
getData
public byte[] getData() -
getAlpha
public byte[] getAlpha()
-