org.apache.poi.sl.image

## Class ImageHeaderPNG

- java.lang.Object
- - org.apache.poi.sl.image.ImageHeaderPNG

-     public final class ImageHeaderPNG
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageHeaderPNG(byte[] data)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `extractPNG()` PNG created on MAC may have a 16-byte prefix which prevents successful reading.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, 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

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.