|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.meta.support.AbstractMetadataResource magoffin.matt.meta.support.AbstractEnumMetadataResource<ImageMetadataType> magoffin.matt.meta.image.EXIFJpegMetadataResource magoffin.matt.meta.image.camera.Canon magoffin.matt.meta.image.camera.Canon20D
public class Canon20D
A Canon 20D-specific implementation of EXIFJpegMetadataResource
.
Field Summary | |
---|---|
static float |
FOCAL_EQUIV_35MM_X_FACTOR
The field of view crop factor from the 20D focal length to a 35mm equivilent. |
Fields inherited from class magoffin.matt.meta.image.EXIFJpegMetadataResource |
---|
EXIF_BASIC_DATE_FORMAT |
Fields inherited from class magoffin.matt.meta.support.AbstractMetadataResource |
---|
log |
Constructor Summary | |
---|---|
Canon20D(java.io.InputStream in)
Construct from an InputStream. |
|
Canon20D(com.drew.metadata.Metadata exif)
Construct from an existing EXIF Metadata instance. |
Method Summary | |
---|---|
protected float |
getFocalLength35mmEquivFactor()
Get a multiplication factor to convert the EXIF focal length into a 35mm equivalent length, for cameras that work this way. |
Methods inherited from class magoffin.matt.meta.image.EXIFJpegMetadataResource |
---|
extractAperture, extractCameraMake, extractCameraModel, extractCreationDate, extractExposureBias, extractExposureTime, extractFlash, extractFocalLength, extractFocalLength35mmEquiv, extractFstop, extractGpsLatitude, extractGpsLongitude, extractOrientation, extractShutterSpeed, getExifInt, getExifRational, getExifString, getMetaInt, getMetaRational, getMetaString, parseExif, roundDecimal |
Methods inherited from class magoffin.matt.meta.support.AbstractEnumMetadataResource |
---|
addError, addValue, getValue, getValues, setValue, setValues |
Methods inherited from class magoffin.matt.meta.support.AbstractMetadataResource |
---|
addError, addValue, clearValues, getParsedKeys, getParseErrors, getValue, getValueList, getValues, setValue, setValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface magoffin.matt.meta.MetadataResource |
---|
getParsedKeys, getParseErrors, getValue, getValues |
Field Detail |
---|
public static final float FOCAL_EQUIV_35MM_X_FACTOR
Constructor Detail |
---|
public Canon20D(java.io.InputStream in)
in
- the JPEG input streampublic Canon20D(com.drew.metadata.Metadata exif)
Metadata
instance.
exif
- the EXIF metadataMethod Detail |
---|
protected float getFocalLength35mmEquivFactor()
EXIFJpegMetadataResource
This implementation returns 1
, i.e. no multiplication
factor. Extending classes can override this to provide a camera-specific
value.
getFocalLength35mmEquivFactor
in class EXIFJpegMetadataResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |