Class JpegImageMetadata
java.lang.Object
org.apache.commons.imaging.formats.jpeg.JpegImageMetadata
- All Implemented Interfaces:
- ImageMetadata
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.imaging.common.ImageMetadataImageMetadata.ImageMetadataItem
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddump()findExifValue(TagInfo tagInfo) findExifValueWithExactMatch(TagInfo tagInfo) getExif()Gets the thumbnail image if available.byte[]Returns the data of the first JPEG thumbnail found in the EXIF metadata.Returns the size of the first JPEG thumbnail found in the EXIF metadata.getItems()toString()
- 
Constructor Details- 
JpegImageMetadata
 
- 
- 
Method Details- 
dump
- 
findExifValue
- 
findExifValueWithExactMatch
- 
getExif
- 
getExifThumbnailGets the thumbnail image if available.- Returns:
- the thumbnail image. May be nullif no image could be found.
- Throws:
- ImagingException- if it fails to read the image
- IOException- if it fails to get the thumbnail or to read the image data
 
- 
getExifThumbnailDataReturns the data of the first JPEG thumbnail found in the EXIF metadata.- Returns:
- JPEG data or null if no thumbnail.
 
- 
getExifThumbnailSizeReturns the size of the first JPEG thumbnail found in the EXIF metadata.- Returns:
- Thumbnail width and height or null if no thumbnail.
- Throws:
- ImagingException- if it fails to read the image
- IOException- if it fails to read the image size
 
- 
getItems- Specified by:
- getItemsin interface- ImageMetadata
 
- 
getPhotoshop
- 
getRawImageData
- 
toString
- 
toString- Specified by:
- toStringin interface- ImageMetadata
 
 
-