Class ImageHeaderPNG


  • public final class ImageHeaderPNG
    extends Object
    • 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