
Public Member Functions | |
| JpegComponent | getComponent (int componentNumber) |
| int | getImageHeight () throws MetadataException |
| int | getImageWidth () throws MetadataException |
| String | getName () |
| int | getNumberOfComponents () throws MetadataException |
| JpegDirectory () | |
Static Public Attributes | |
| static final int | TAG_JPEG_COMPONENT_DATA_1 = 6 |
| static final int | TAG_JPEG_COMPONENT_DATA_2 = 7 |
| static final int | TAG_JPEG_COMPONENT_DATA_3 = 8 |
| static final int | TAG_JPEG_COMPONENT_DATA_4 = 9 |
| static final int | TAG_JPEG_DATA_PRECISION = 0 |
| static final int | TAG_JPEG_IMAGE_HEIGHT = 1 |
| static final int | TAG_JPEG_IMAGE_WIDTH = 3 |
| static final int | TAG_JPEG_NUMBER_OF_COMPONENTS = 5 |
Protected Member Functions | |
| HashMap | getTagNameMap () |
Static Protected Attributes | |
| static final HashMap | tagNameMap = new HashMap() |
Static Package Functions | |
| [static initializer] | |
| JpegDirectory | ( | ) |
| [static initializer] | ( | ) | [static, package] |
| JpegComponent getComponent | ( | int | componentNumber | ) |
| componentNumber | The zero-based index of the component. This number is normally between 0 and 3. Use getNumberOfComponents for bounds-checking. |
| int getImageHeight | ( | ) | throws MetadataException |
| int getImageWidth | ( | ) | throws MetadataException |
| String getName | ( | ) | [virtual] |
Provides the name of the directory, for display purposes. E.g. Exif
Implements Directory.
| int getNumberOfComponents | ( | ) | throws MetadataException |
| HashMap getTagNameMap | ( | ) | [protected, virtual] |
Provides the map of tag names, hashed by tag type identifier.
Implements Directory.
final int TAG_JPEG_COMPONENT_DATA_1 = 6 [static] |
the first of a possible 4 color components. Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
final int TAG_JPEG_COMPONENT_DATA_2 = 7 [static] |
the second of a possible 4 color components. Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
final int TAG_JPEG_COMPONENT_DATA_3 = 8 [static] |
the third of a possible 4 color components. Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
final int TAG_JPEG_COMPONENT_DATA_4 = 9 [static] |
the fourth of a possible 4 color components. Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
final int TAG_JPEG_DATA_PRECISION = 0 [static] |
This is in bits/sample, usually 8 (12 and 16 not supported by most software).
final int TAG_JPEG_IMAGE_HEIGHT = 1 [static] |
The image's height. Necessary for decoding the image, so it should always be there.
final int TAG_JPEG_IMAGE_WIDTH = 3 [static] |
The image's width. Necessary for decoding the image, so it should always be there.
final int TAG_JPEG_NUMBER_OF_COMPONENTS = 5 [static] |
Usually 1 = grey scaled, 3 = color YcbCr or YIQ, 4 = color CMYK Each component TAG_COMPONENT_DATA_[1-4], has the following meaning: component Id(1byte)(1 = Y, 2 = Cb, 3 = Cr, 4 = I, 5 = Q), sampling factors (1byte) (bit 0-3 vertical., 4-7 horizontal.), quantization table number (1 byte).
This info is from http://www.funducode.com/freec/Fileformats/format3/format3b.htm
final HashMap tagNameMap = new HashMap() [static, protected] |
1.5.8