Class ImageHeaderPNG


  • public final class ImageHeaderPNG
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageHeaderPNG​(byte[] data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] extractPNG()
      PNG created on MAC may have a 16-byte prefix which prevents successful reading.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageHeaderPNG

        public ImageHeaderPNG​(byte[] data)
        Parameters:
        data - The raw image data
    • Method Detail

      • extractPNG

        public byte[] extractPNG()
        PNG created on MAC may have a 16-byte prefix which prevents successful reading.
        Returns:
        the trimmed PNG data