Class PngConfig


  • public final class PngConfig
    extends java.lang.Object
    Customizable parameters used by PngImage when decoding an image. Instances of this class are immutable and can only be constructed using the PngConfig.Builder inner-class.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PngConfig.Builder
      Builder class used to construct PngConfig instances.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int READ_ALL
      Read the entire image
      static int READ_EXCEPT_DATA
      Read the entire image, skipping over the image data
      static int READ_EXCEPT_METADATA
      Read the entire image, skipping over all non-critical chunks except tRNS and gAMA
      static int READ_HEADER
      Read only the header chunk
      static int READ_UNTIL_DATA
      Read all the metadata up to the image data