Class PNG

  • All Implemented Interfaces:
    PictureData

    public final class PNG
    extends Bitmap
    Represents a PNG picture data in a PPT file
    • Constructor Detail

      • PNG

        public PNG()
    • Method Detail

      • getData

        public byte[] getData()
        Description copied from interface: PictureData
        Returns the binary data of this Picture
        Specified by:
        getData in interface PictureData
        Overrides:
        getData in class Bitmap
        Returns:
        picture data
      • getSignature

        public int getSignature()
        PNG signature is 0x6E00 or 0x6E10
        Returns:
        PNG signature (0x6E00 or 0x6E10)
      • setSignature

        public void setSignature​(int signature)
        Sets the PNG signature - either 0x6E00 or 0x6E10
        Specified by:
        setSignature in class HSLFPictureData