Class PNG

All Implemented Interfaces:
GenericRecord, PictureData

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

  • Method Details

    • 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
    • getType

      public PictureData.PictureType getType()
      Returns:
      the picture type
    • 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