Class PngUtils

java.lang.Object
org.apache.poi.util.PngUtils

public final class PngUtils extends Object
  • Method Details

    • matchesPngHeader

      public static boolean matchesPngHeader(byte[] data, int offset)
      Checks if the offset matches the PNG header.
      Parameters:
      data - the data to check.
      offset - the offset to check at.
      Returns:
      true if the offset matches.