Package gov.nih.mipav.model.file
Class MetadataExtractor.PngColorType
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.PngColorType
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PngColorType extends java.lang.Object
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
_allowedBitDepths
private java.lang.String
_description
private int
_numericValue
-
Constructor Summary
Constructors Modifier Constructor Description private
PngColorType(int numericValue, java.lang.String description, int... allowedBitDepths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.PngColorType
fromNumericValue(int numericValue)
Each pixel is an R,G,B triple followed by an alpha sample.int[]
getAllowedBitDepths()
java.lang.String
getDescription()
int
getNumericValue()
-
-
-
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()
-
-