Class PNGImage

java.lang.Object
net.atthegate.server.service.pdf.PNGImage

public class PNGImage extends Object
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 Details

  • 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()