Class MetadataExtractor.PngColorType

  • Enclosing class:
    MetadataExtractor

    public class MetadataExtractor.PngColorType
    extends java.lang.Object
    Author:
    Drew Noakes https://drewnoakes.com
    • Field Detail

      • _numericValue

        private final int _numericValue
      • _description

        private final java.lang.String _description
      • _allowedBitDepths

        private final int[] _allowedBitDepths
    • Constructor Detail

      • PngColorType

        private PngColorType​(int numericValue,
                             java.lang.String description,
                             int... allowedBitDepths)
    • Method Detail

      • fromNumericValue

        public MetadataExtractor.PngColorType fromNumericValue​(int numericValue)
        Each pixel is an R,G,B triple followed by an alpha sample.
      • getNumericValue

        public int getNumericValue()
      • getDescription

        public java.lang.String getDescription()
      • getAllowedBitDepths

        public int[] getAllowedBitDepths()