it.tidalwave.imageio.pef
Class PentaxMakerNote

java.lang.Object
  extended by it.tidalwave.imageio.raw.Directory
      extended by it.tidalwave.imageio.tiff.IFDSupport
          extended by it.tidalwave.imageio.pef.PentaxMakerNote
All Implemented Interfaces:
java.io.Serializable

public class PentaxMakerNote
extends IFDSupport

Version:
CVS $Id: PentaxMakerNote.java,v 1.1 2006/02/13 22:39:41 fabriziogiudici Exp $
Author:
Fabrizio Giudici
See Also:
Serialized Form

Nested Class Summary
static class PentaxMakerNoteSupport.Contrast
           
static class PentaxMakerNoteSupport.FocusMode
           
static class PentaxMakerNoteSupport.ImageSize
           
static class PentaxMakerNoteSupport.IsoSensitivity
           
static class PentaxMakerNoteSupport.QualityMode
           
static class PentaxMakerNoteSupport.Saturation
           
static class PentaxMakerNoteSupport.Sharpness
           
static class PentaxMakerNoteSupport.WhiteBalance
           
 
Nested classes/interfaces inherited from class it.tidalwave.imageio.raw.Directory
Directory.Enumeration
 
Field Summary
static java.lang.Object CONTRAST
          Field (#32)
static java.lang.Object FOCAL_LENGTH
          Field (#29)
static java.lang.Object FOCUS_MODE
          Field (#13)
static java.lang.Object IMAGE_CROP_CORNER
          Field (#56)
static java.lang.Object IMAGE_CROP_SIZE
          Field (#57)
static java.lang.Object IMAGE_SIZE
          Field (#9)
static java.lang.Object ISO_SENSITIVITY
          Field (#20)
static java.lang.Object PREVIEW_THUMBNAIL_DIMENSIONS
          Field (#2)
static java.lang.Object PREVIEW_THUMBNAIL_OFFSET
          Field (#4)
static java.lang.Object PREVIEW_THUMBNAIL_SIZE
          Field (#3)
static java.lang.Object QUALITY_MODE
          Field (#8)
static TagRegistry REGISTRY
           
static java.lang.Object SATURATION
          Field (#31)
static java.lang.Object SHARPNESS
          Field (#33)
static java.lang.Object WHITE_BALANCE
          Field (#25)
 
Fields inherited from class it.tidalwave.imageio.raw.Directory
end, nextDirectory, start, tagRegistry
 
Constructor Summary
PentaxMakerNote()
           
 
Method Summary
 PentaxMakerNoteSupport.Contrast getContrast()
          Returns the value of the tag Contrast.
 int getFocalLength()
          Returns the value of the tag Focal Length.
 PentaxMakerNoteSupport.FocusMode getFocusMode()
          Returns the value of the tag Focus Mode.
 int[] getImageCropCorner()
          Returns the value of the tag Image Crop Corner.
 int[] getImageCropSize()
          Returns the value of the tag Image Crop Size.
 PentaxMakerNoteSupport.ImageSize getImageSize()
          Returns the value of the tag Image Size.
 PentaxMakerNoteSupport.IsoSensitivity getIsoSensitivity()
          Returns the value of the tag Iso Sensitivity.
 int[] getPreviewThumbnailDimensions()
          Returns the value of the tag Preview Thumbnail Dimensions.
 int getPreviewThumbnailOffset()
          Returns the value of the tag Preview Thumbnail Offset.
 int getPreviewThumbnailSize()
          Returns the value of the tag Preview Thumbnail Size.
 PentaxMakerNoteSupport.QualityMode getQualityMode()
          Returns the value of the tag Quality Mode.
 PentaxMakerNoteSupport.Saturation getSaturation()
          Returns the value of the tag Saturation.
 PentaxMakerNoteSupport.Sharpness getSharpness()
          Returns the value of the tag Sharpness.
 PentaxMakerNoteSupport.WhiteBalance getWhiteBalance()
          Returns the value of the tag White Balance.
 boolean isContrastAvailable()
          Returns true if the tag Contrast is contained in this IFD.
 boolean isFocalLengthAvailable()
          Returns true if the tag Focal Length is contained in this IFD.
 boolean isFocusModeAvailable()
          Returns true if the tag Focus Mode is contained in this IFD.
 boolean isImageCropCornerAvailable()
          Returns true if the tag Image Crop Corner is contained in this IFD.
 boolean isImageCropSizeAvailable()
          Returns true if the tag Image Crop Size is contained in this IFD.
 boolean isImageSizeAvailable()
          Returns true if the tag Image Size is contained in this IFD.
 boolean isIsoSensitivityAvailable()
          Returns true if the tag Iso Sensitivity is contained in this IFD.
 boolean isPreviewThumbnailDimensionsAvailable()
          Returns true if the tag Preview Thumbnail Dimensions is contained in this IFD.
 boolean isPreviewThumbnailOffsetAvailable()
          Returns true if the tag Preview Thumbnail Offset is contained in this IFD.
 boolean isPreviewThumbnailSizeAvailable()
          Returns true if the tag Preview Thumbnail Size is contained in this IFD.
 boolean isQualityModeAvailable()
          Returns true if the tag Quality Mode is contained in this IFD.
 boolean isSaturationAvailable()
          Returns true if the tag Saturation is contained in this IFD.
 boolean isSharpnessAvailable()
          Returns true if the tag Sharpness is contained in this IFD.
 boolean isWhiteBalanceAvailable()
          Returns true if the tag White Balance is contained in this IFD.
 void loadAll(RAWImageInputStream iis, long offset)
           
 
Methods inherited from class it.tidalwave.imageio.tiff.IFDSupport
load
 
Methods inherited from class it.tidalwave.imageio.raw.Directory
addDirectory, addNamedDirectory, addTag, asDoubles, asFloats, containsTag, getByte, getBytes, getDouble, getDoubles, getEnd, getFloat, getFloats, getInteger, getIntegers, getNamedDirectory, getNextDirectory, getObject, getRational, getRationals, getRegistry, getStart, getString, getSubDirectoryNames, getTag, getTagName, removeTag, subDirectories, tags, toString, toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGISTRY

public static final TagRegistry REGISTRY

PREVIEW_THUMBNAIL_DIMENSIONS

public static final java.lang.Object PREVIEW_THUMBNAIL_DIMENSIONS
Field (#2)


PREVIEW_THUMBNAIL_SIZE

public static final java.lang.Object PREVIEW_THUMBNAIL_SIZE
Field (#3)


PREVIEW_THUMBNAIL_OFFSET

public static final java.lang.Object PREVIEW_THUMBNAIL_OFFSET
Field (#4)


QUALITY_MODE

public static final java.lang.Object QUALITY_MODE
Field (#8)


IMAGE_SIZE

public static final java.lang.Object IMAGE_SIZE
Field (#9)


FOCUS_MODE

public static final java.lang.Object FOCUS_MODE
Field (#13)


ISO_SENSITIVITY

public static final java.lang.Object ISO_SENSITIVITY
Field (#20)


WHITE_BALANCE

public static final java.lang.Object WHITE_BALANCE
Field (#25)


FOCAL_LENGTH

public static final java.lang.Object FOCAL_LENGTH
Field (#29)


SATURATION

public static final java.lang.Object SATURATION
Field (#31)


CONTRAST

public static final java.lang.Object CONTRAST
Field (#32)


SHARPNESS

public static final java.lang.Object SHARPNESS
Field (#33)


IMAGE_CROP_CORNER

public static final java.lang.Object IMAGE_CROP_CORNER
Field (#56)


IMAGE_CROP_SIZE

public static final java.lang.Object IMAGE_CROP_SIZE
Field (#57)

Constructor Detail

PentaxMakerNote

public PentaxMakerNote()
Method Detail

loadAll

public void loadAll(RAWImageInputStream iis,
                    long offset)
             throws java.io.IOException
Overrides:
loadAll in class Directory
Throws:
java.io.IOException

isPreviewThumbnailDimensionsAvailable

public boolean isPreviewThumbnailDimensionsAvailable()
Returns true if the tag Preview Thumbnail Dimensions is contained in this IFD.


getPreviewThumbnailDimensions

public int[] getPreviewThumbnailDimensions()
Returns the value of the tag Preview Thumbnail Dimensions.


isPreviewThumbnailSizeAvailable

public boolean isPreviewThumbnailSizeAvailable()
Returns true if the tag Preview Thumbnail Size is contained in this IFD.


getPreviewThumbnailSize

public int getPreviewThumbnailSize()
Returns the value of the tag Preview Thumbnail Size.


isPreviewThumbnailOffsetAvailable

public boolean isPreviewThumbnailOffsetAvailable()
Returns true if the tag Preview Thumbnail Offset is contained in this IFD.


getPreviewThumbnailOffset

public int getPreviewThumbnailOffset()
Returns the value of the tag Preview Thumbnail Offset.


isQualityModeAvailable

public boolean isQualityModeAvailable()
Returns true if the tag Quality Mode is contained in this IFD.


getQualityMode

public PentaxMakerNoteSupport.QualityMode getQualityMode()
Returns the value of the tag Quality Mode.


isImageSizeAvailable

public boolean isImageSizeAvailable()
Returns true if the tag Image Size is contained in this IFD.


getImageSize

public PentaxMakerNoteSupport.ImageSize getImageSize()
Returns the value of the tag Image Size.


isFocusModeAvailable

public boolean isFocusModeAvailable()
Returns true if the tag Focus Mode is contained in this IFD.


getFocusMode

public PentaxMakerNoteSupport.FocusMode getFocusMode()
Returns the value of the tag Focus Mode.


isIsoSensitivityAvailable

public boolean isIsoSensitivityAvailable()
Returns true if the tag Iso Sensitivity is contained in this IFD.


getIsoSensitivity

public PentaxMakerNoteSupport.IsoSensitivity getIsoSensitivity()
Returns the value of the tag Iso Sensitivity.


isWhiteBalanceAvailable

public boolean isWhiteBalanceAvailable()
Returns true if the tag White Balance is contained in this IFD.


getWhiteBalance

public PentaxMakerNoteSupport.WhiteBalance getWhiteBalance()
Returns the value of the tag White Balance.


isFocalLengthAvailable

public boolean isFocalLengthAvailable()
Returns true if the tag Focal Length is contained in this IFD.


getFocalLength

public int getFocalLength()
Returns the value of the tag Focal Length.


isSaturationAvailable

public boolean isSaturationAvailable()
Returns true if the tag Saturation is contained in this IFD.


getSaturation

public PentaxMakerNoteSupport.Saturation getSaturation()
Returns the value of the tag Saturation.


isContrastAvailable

public boolean isContrastAvailable()
Returns true if the tag Contrast is contained in this IFD.


getContrast

public PentaxMakerNoteSupport.Contrast getContrast()
Returns the value of the tag Contrast.


isSharpnessAvailable

public boolean isSharpnessAvailable()
Returns true if the tag Sharpness is contained in this IFD.


getSharpness

public PentaxMakerNoteSupport.Sharpness getSharpness()
Returns the value of the tag Sharpness.


isImageCropCornerAvailable

public boolean isImageCropCornerAvailable()
Returns true if the tag Image Crop Corner is contained in this IFD.


getImageCropCorner

public int[] getImageCropCorner()
Returns the value of the tag Image Crop Corner.


isImageCropSizeAvailable

public boolean isImageCropSizeAvailable()
Returns true if the tag Image Crop Size is contained in this IFD.


getImageCropSize

public int[] getImageCropSize()
Returns the value of the tag Image Crop Size.