Class PNGRegistryEntry

All Implemented Interfaces:
ErrorConstants, RegistryEntry, StreamRegistryEntry

public class PNGRegistryEntry extends MagicNumberRegistryEntry
Version:
$Id: PNGRegistryEntry.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • signature

      static final byte[] signature
  • Constructor Details

    • PNGRegistryEntry

      public PNGRegistryEntry()
  • Method Details

    • handleStream

      public Filter handleStream(InputStream inIS, ParsedURL origURL, boolean needRawData)
      Decode the Stream into a RenderableImage
      Parameters:
      inIS - The input stream that contains the image.
      origURL - The original URL, if any, for documentation purposes only. This may be null.
      needRawData - If true the image returned should not have any default color correction the file may specify applied.