Package gov.nih.mipav.model.file
Class MetadataExtractor.BmpHeaderDirectory.Compression
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.BmpHeaderDirectory.Compression
-
- Enclosing class:
- MetadataExtractor.BmpHeaderDirectory
public class MetadataExtractor.BmpHeaderDirectory.Compression extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
BI_ALPHABITFIELDS
6 = RGBA bit fields(package private) int
BI_BITFIELDS
3 = Bit fields (not OS22XBITMAPHEADER (size 64))(package private) int
BI_CMYK
11 = CMYK(package private) int
BI_CMYKRLE4
13 = CMYK RLE-4(package private) int
BI_CMYKRLE8
12 = CMYK RLE-8(package private) int
BI_HUFFMAN_1D
3 = Huffman 1D (if OS22XBITMAPHEADER (size 64))(package private) int
BI_JPEG
4 = JPEG (not OS22XBITMAPHEADER (size 64))(package private) int
BI_PNG
5 = PNG(package private) int
BI_RGB
0 = None(package private) int
BI_RLE24
4 = RLE 24-bit/pixel (if OS22XBITMAPHEADER (size 64))(package private) int
BI_RLE4
2 = RLE 4-bit/pixel(package private) int
BI_RLE8
1 = RLE 8-bit/pixelprivate int
headerSize
private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
Compression(int value, int headerSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeaderSize()
int
getValue()
java.lang.String
toString(int value, int headerSize)
MetadataExtractor.BmpHeaderDirectory.Compression
typeOf(int value, int headerSize)
MetadataExtractor.BmpHeaderDirectory.Compression
typeOf(MetadataExtractor.BmpHeaderDirectory directory)
-
-
-
Field Detail
-
BI_RGB
final int BI_RGB
0 = None- See Also:
- Constant Field Values
-
BI_RLE8
final int BI_RLE8
1 = RLE 8-bit/pixel- See Also:
- Constant Field Values
-
BI_RLE4
final int BI_RLE4
2 = RLE 4-bit/pixel- See Also:
- Constant Field Values
-
BI_BITFIELDS
final int BI_BITFIELDS
3 = Bit fields (not OS22XBITMAPHEADER (size 64))- See Also:
- Constant Field Values
-
BI_HUFFMAN_1D
final int BI_HUFFMAN_1D
3 = Huffman 1D (if OS22XBITMAPHEADER (size 64))- See Also:
- Constant Field Values
-
BI_JPEG
final int BI_JPEG
4 = JPEG (not OS22XBITMAPHEADER (size 64))- See Also:
- Constant Field Values
-
BI_RLE24
final int BI_RLE24
4 = RLE 24-bit/pixel (if OS22XBITMAPHEADER (size 64))- See Also:
- Constant Field Values
-
BI_PNG
final int BI_PNG
5 = PNG- See Also:
- Constant Field Values
-
BI_ALPHABITFIELDS
final int BI_ALPHABITFIELDS
6 = RGBA bit fields- See Also:
- Constant Field Values
-
BI_CMYK
final int BI_CMYK
11 = CMYK- See Also:
- Constant Field Values
-
BI_CMYKRLE8
final int BI_CMYKRLE8
12 = CMYK RLE-8- See Also:
- Constant Field Values
-
BI_CMYKRLE4
final int BI_CMYKRLE4
13 = CMYK RLE-4- See Also:
- Constant Field Values
-
value
private final int value
-
headerSize
private final int headerSize
-
-
Method Detail
-
getValue
public int getValue()
-
getHeaderSize
public int getHeaderSize()
-
typeOf
public MetadataExtractor.BmpHeaderDirectory.Compression typeOf(MetadataExtractor.BmpHeaderDirectory directory)
-
typeOf
public MetadataExtractor.BmpHeaderDirectory.Compression typeOf(int value, int headerSize)
-
toString
public java.lang.String toString(int value, int headerSize)
-
-