Class ExifData
EXIF data container.
public class ExifData : TiffDataTypeController
- Inheritance
-
ExifData
- Derived
- Inherited Members
Constructors
ExifData()
Initializes a new instance of the ExifData class.
public ExifData()
ExifData(TiffDataType[])
Initializes a new instance of the ExifData class with data from array.
public ExifData(TiffDataType[] exifdata)
Parameters
exifdata
TiffDataType[]Array of EXIF tags together with common and GPS tags.
ExifData(TiffDataType[], TiffDataType[], TiffDataType[])
Initializes a new instance of the ExifData class with data from array.
public ExifData(TiffDataType[] commonTags, TiffDataType[] exifTags, TiffDataType[] gpsTags)
Parameters
commonTags
TiffDataType[]The common tags.
exifTags
TiffDataType[]The EXIF tags.
gpsTags
TiffDataType[]The GPS tags.
Properties
ApertureValue
Gets or sets the aperture value.
public TiffRational ApertureValue { get; set; }
Property Value
- TiffRational
The aperture value.
BodySerialNumber
Gets or sets camera body serial number.
public string BodySerialNumber { get; set; }
Property Value
- string
The body serial number.
BrightnessValue
Gets or sets the brightness value.
public TiffSRational BrightnessValue { get; set; }
Property Value
- TiffSRational
The brightness value.
CFAPattern
Gets or sets the CFA pattern.
public byte[] CFAPattern { get; set; }
Property Value
- byte[]
The CFA pattern.
CameraOwnerName
Gets or sets camera owner name
public string CameraOwnerName { get; set; }
Property Value
- string
The name of the camera owner.
ColorSpace
Gets or sets the color space.
public ExifColorSpace ColorSpace { get; set; }
Property Value
- ExifColorSpace
The color space.
CommonTags
Gets or sets tags, which belong to common section. This applies only to jpeg images, in tiff format tiffOptions are being used instead
public TiffDataType[] CommonTags { get; set; }
Property Value
- TiffDataType[]
The common section tags.
ComponentsConfiguration
Gets or sets the components configuration.
public byte[] ComponentsConfiguration { get; set; }
Property Value
- byte[]
The components configuration.
CompressedBitsPerPixel
Gets or sets the compressed bits per pixel.
public TiffRational CompressedBitsPerPixel { get; set; }
Property Value
- TiffRational
The compressed bits per pixel.
Contrast
Gets or sets the contrast.
public ExifContrast Contrast { get; set; }
Property Value
- ExifContrast
The contrast.
CustomRendered
Gets or sets the custom rendered.
public ExifCustomRendered CustomRendered { get; set; }
Property Value
- ExifCustomRendered
The custom rendered.
DateTimeDigitized
Gets or sets the date time digitized.
public string DateTimeDigitized { get; set; }
Property Value
- string
The date time digitized.
DateTimeOriginal
Gets or sets the date time original.
public string DateTimeOriginal { get; set; }
Property Value
- string
The date time original.
DeviceSettingDescription
Gets or sets device settings description
public byte[] DeviceSettingDescription { get; set; }
Property Value
- byte[]
The device setting description.
DigitalZoomRatio
Gets or sets the digital zoom ratio.
public TiffRational DigitalZoomRatio { get; set; }
Property Value
- TiffRational
The digital zoom ratio.
ExifTags
Gets or sets tags which belong to EXIF section only.
public TiffDataType[] ExifTags { get; set; }
Property Value
- TiffDataType[]
The EXIF section tags.
ExifVersion
Gets or sets the EXIF version.
public byte[] ExifVersion { get; set; }
Property Value
- byte[]
The EXIF version.
ExposureBiasValue
Gets or sets the exposure bias value.
public TiffSRational ExposureBiasValue { get; set; }
Property Value
- TiffSRational
The exposure bias value.
ExposureIndex
Gets or sets the exposure index.
public TiffRational ExposureIndex { get; set; }
Property Value
- TiffRational
The index of the exposure.
ExposureMode
Gets or sets the exposure mode.
public ExifExposureMode ExposureMode { get; set; }
Property Value
- ExifExposureMode
The exposure mode.
ExposureProgram
Gets or sets the exposure program.
public ExifExposureProgram ExposureProgram { get; set; }
Property Value
- ExifExposureProgram
The exposure program.
ExposureTime
Gets or sets the exposure time.
public TiffRational ExposureTime { get; set; }
Property Value
- TiffRational
The exposure time.
FNumber
Gets or sets the F-number.
public TiffRational FNumber { get; set; }
Property Value
- TiffRational
The F-number.
FileSource
Gets or sets the file source type.
public ExifFileSource FileSource { get; set; }
Property Value
- ExifFileSource
The file source type.
Flash
Gets or sets the flash.
public ExifFlash Flash { get; set; }
Property Value
- ExifFlash
The flash.
FlashEnergy
Gets or sets the flash energy.
public TiffRational FlashEnergy { get; set; }
Property Value
- TiffRational
The flash energy.
FlashpixVersion
Gets or sets the flash pix version.
public byte[] FlashpixVersion { get; set; }
Property Value
- byte[]
The flash pix version.
FocalLength
Gets or sets the focal length.
public TiffRational FocalLength { get; set; }
Property Value
- TiffRational
The length of the focal.
FocalLengthIn35MmFilm
Gets or sets the focal length in 35 mm film.
public ushort FocalLengthIn35MmFilm { get; set; }
Property Value
- ushort
The focal length in35 mm film.
FocalPlaneResolutionUnit
Gets or sets the focal plane resolution unit.
public ExifUnit FocalPlaneResolutionUnit { get; set; }
Property Value
- ExifUnit
The focal plane resolution unit.
FocalPlaneXResolution
Gets or sets the focal plane x resolution.
public TiffRational FocalPlaneXResolution { get; set; }
Property Value
- TiffRational
The focal plane x resolution.
FocalPlaneYResolution
Gets or sets the focal plane y resolution.
public TiffRational FocalPlaneYResolution { get; set; }
Property Value
- TiffRational
The focal plane y resolution.
GPSAltitude
Gets or sets the GPS altitude.
public TiffRational GPSAltitude { get; set; }
Property Value
- TiffRational
The GPS altitude.
GPSAltitudeRef
Gets or sets the GPS altitude used as the reference altitude.
public ExifGPSAltitudeRef GPSAltitudeRef { get; set; }
Property Value
- ExifGPSAltitudeRef
The GPS altitude used as the reference altitude.
GPSAreaInformation
Gets or sets the GPS area information.
public byte[] GPSAreaInformation { get; set; }
Property Value
- byte[]
The GPS area information.
GPSDOP
Gets or sets the GPS DOP (data degree of precision).
public TiffRational GPSDOP { get; set; }
Property Value
- TiffRational
The GPS DOP (data degree of precision).
GPSDateStamp
Gets or sets the GPS character string recording date and time information relative to UTC (Coordinated Universal Time).
public string GPSDateStamp { get; set; }
Property Value
- string
The GPS character string recording date and time information relative to UTC (Coordinated Universal Time).
GPSDestBearing
Gets or sets the GPS bearing to the destination point.
public TiffRational GPSDestBearing { get; set; }
Property Value
- TiffRational
The GPS bearing to the destination point.
GPSDestBearingRef
Gets or sets the GPS reference used for giving the bearing to the destination point.
public string GPSDestBearingRef { get; set; }
Property Value
- string
The GPS reference used for giving the bearing to the destination point.
GPSDestDistance
Gets or sets the GPS distance to the destination point.
public TiffRational GPSDestDistance { get; set; }
Property Value
- TiffRational
The GPS distance to the destination point.
GPSDestDistanceRef
Gets or sets the GPS unit used to express the distance to the destination point.
public string GPSDestDistanceRef { get; set; }
Property Value
- string
The GPS unit used to express the distance to the destination point.
GPSDestLatitude
Gets or sets the GPS latitude of the destination point.
public TiffRational[] GPSDestLatitude { get; set; }
Property Value
- TiffRational[]
The GPS latitude of the destination point.
GPSDestLatitudeRef
Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude.
public string GPSDestLatitudeRef { get; set; }
Property Value
- string
The GPS value which indicates whether the latitude of the destination point is north or south latitude.
GPSDestLongitude
Gets or sets the GPS longitude of the destination point.
public TiffRational[] GPSDestLongitude { get; set; }
Property Value
- TiffRational[]
The GPS longitude of the destination point.
GPSDestLongitudeRef
Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude.
public string GPSDestLongitudeRef { get; set; }
Property Value
- string
The GPS value which indicates whether the longitude of the destination point is east or west longitude.
GPSDifferential
Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver.
public ushort GPSDifferential { get; set; }
Property Value
- ushort
The GPS value which indicates whether differential correction is applied to the GPS receiver.
GPSImgDirection
Gets or sets the GPS direction of the image when it was captured.
public TiffRational GPSImgDirection { get; set; }
Property Value
- TiffRational
The GPS direction of the image when it was captured.
GPSImgDirectionRef
Gets or sets the GPS reference for giving the direction of the image when it is captured.
public string GPSImgDirectionRef { get; set; }
Property Value
- string
The GPS reference for giving the direction of the image when it is captured.
GPSLatitude
Gets or sets the GPS latitude.
public TiffRational[] GPSLatitude { get; set; }
Property Value
- TiffRational[]
The GPS latitude.
GPSLatitudeRef
Gets or sets the GPS latitude is north or south latitude.
public string GPSLatitudeRef { get; set; }
Property Value
- string
The GPS latitude is north or south latitude.
GPSLongitude
Gets or sets the GPS longitude.
public TiffRational[] GPSLongitude { get; set; }
Property Value
- TiffRational[]
The GPS longitude.
GPSLongitudeRef
Gets or sets the GPS longitude is east or west longitude.
public string GPSLongitudeRef { get; set; }
Property Value
- string
The GPS longitude is east or west longitude.
GPSMapDatum
Gets or sets the GPS geodetic survey data used by the GPS receiver.
public string GPSMapDatum { get; set; }
Property Value
- string
The GPS geodetic survey data used by the GPS receiver.
GPSMeasureMode
Gets or sets the GPS measurement mode.
public string GPSMeasureMode { get; set; }
Property Value
- string
The GPS measurement mode.
GPSProcessingMethod
Gets or sets the GPS character string recording the name of the method used for location finding.
public byte[] GPSProcessingMethod { get; set; }
Property Value
- byte[]
The GPS character string recording the name of the method used for location finding.
GPSSatellites
Gets or sets the GPS satellites used for measurements.
public string GPSSatellites { get; set; }
Property Value
- string
The GPS satellites used for measurements.
GPSSpeed
Gets or sets the speed of GPS receiver movement.
public TiffRational GPSSpeed { get; set; }
Property Value
- TiffRational
The speed of GPS receiver movement.
GPSSpeedRef
Gets or sets the unit used to express the GPS receiver speed of movement.
public string GPSSpeedRef { get; set; }
Property Value
- string
The unit used to express the GPS receiver speed of movement.
GPSStatus
Gets or sets the status of the GPS receiver when the image is recorded.
public string GPSStatus { get; set; }
Property Value
- string
The status of the GPS receiver when the image is recorded.
GPSTags
Gets or sets tags, which belong to GPS section only.
public TiffDataType[] GPSTags { get; set; }
Property Value
- TiffDataType[]
The GPS tags.
GPSTimestamp
Gets or sets the GPS time as UTC (Coordinated Universal Time).
public TiffRational[] GPSTimestamp { get; set; }
Property Value
- TiffRational[]
The GPS time as UTC (Coordinated Universal Time).
GPSTrack
Gets or sets direction of GPS receiver movement.
public string GPSTrack { get; set; }
Property Value
- string
The direction of GPS receiver movement.
GPSTrackRef
Gets or sets the reference for giving the direction of GPS receiver movement.
public string GPSTrackRef { get; set; }
Property Value
- string
The reference for giving the direction of GPS receiver movement.
GPSVersionID
Gets or sets the GPS version identifier.
public byte[] GPSVersionID { get; set; }
Property Value
- byte[]
The GPS version identifier.
GainControl
Gets or sets the degree of overall image gain adjustment.
public ExifGainControl GainControl { get; set; }
Property Value
- ExifGainControl
The degree of overall image gain adjustment.
Gamma
Gets or sets the gamma.
public TiffRational Gamma { get; set; }
Property Value
- TiffRational
The gamma value.
ISOSpeed
Gets or sets ISO speed
public uint ISOSpeed { get; set; }
Property Value
- uint
The ISO speed.
ISOSpeedLatitudeYYY
Gets or sets the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232.
public uint ISOSpeedLatitudeYYY { get; set; }
Property Value
- uint
The ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232.
Remarks
This tag shall not be recorded without ISOSpeed and ISOSpeedLatitudezzz
ISOSpeedLatitudeZZZ
Gets or sets the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232.
public uint ISOSpeedLatitudeZZZ { get; set; }
Property Value
- uint
The ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232.
Remarks
This tag shall not be recorded without ISOSpeed and ISOSpeedLatitudeyyy
ImageUniqueID
Gets or sets the image unique identifier.
public string ImageUniqueID { get; set; }
Property Value
- string
The image unique identifier.
IsBigEndian
Gets or sets a value indicating whether the stream EXIF data created from is big endian.
public bool IsBigEndian { get; set; }
Property Value
- bool
true
if the stream EXIF data created from is big endian; otherwise,false
.
LensMake
Gets or sets the maker of lens.
public string LensMake { get; set; }
Property Value
- string
The lens maker.
LensModel
Gets or sets the lens model.
public string LensModel { get; set; }
Property Value
- string
The lens model.
LensSerialNumber
Gets or sets the lens serial number.
public string LensSerialNumber { get; set; }
Property Value
- string
The lens serial number.
LensSpecification
Gets or sets the lens specification
public TiffRational[] LensSpecification { get; set; }
Property Value
- TiffRational[]
The lens specification.
LightSource
Gets or sets the light source.
public ExifLightSource LightSource { get; set; }
Property Value
- ExifLightSource
The light source.
Make
Gets or sets the manufacturer of the recording equipment.
public string Make { get; set; }
Property Value
- string
The manufacturer of the recording equipment.
MakerNoteData
Gets the maker note data.
public TiffDataType[] MakerNoteData { get; }
Property Value
- TiffDataType[]
The maker note data.
MakerNoteRawData
Gets or sets the maker note raw data.
public byte[] MakerNoteRawData { get; set; }
Property Value
- byte[]
The maker note raw data.
MakerNotes
Gets the maker notes.
public MakerNote[] MakerNotes { get; }
Property Value
- MakerNote[]
The maker notes.
MaxApertureValue
Gets or sets the maximum aperture value.
public TiffRational MaxApertureValue { get; set; }
Property Value
- TiffRational
The maximum aperture value.
MeteringMode
Gets or sets the metering mode.
public ExifMeteringMode MeteringMode { get; set; }
Property Value
- ExifMeteringMode
The metering mode.
OECF
Gets or sets the Opto-Electric Conversion Function (OECF) specified in ISO 14524.
public byte[] OECF { get; set; }
Property Value
- byte[]
The Opto-Electric Conversion Function (OECF) specified in ISO 14524.
PhotographicSensitivity
Gets or sets the photographic sensitivity.
public uint PhotographicSensitivity { get; set; }
Property Value
- uint
The photographic sensitivity.
PixelXDimension
Gets or sets the pixel x dimension.
public uint PixelXDimension { get; set; }
Property Value
- uint
The pixel x dimension.
PixelYDimension
Gets or sets the pixel y dimension.
public uint PixelYDimension { get; set; }
Property Value
- uint
The pixel y dimension.
Properties
Gets or sets all the EXIF tags (including common and GPS tags).
public TiffDataType[] Properties { get; set; }
Property Value
- TiffDataType[]
The EXIF tags (including common and GPS tags).
RecommendedExposureIndex
Gets or sets the recommended exposure index.
public uint RecommendedExposureIndex { get; set; }
Property Value
- uint
The recommended exposure index.
RelatedSoundFile
Gets or sets the related sound file.
public string RelatedSoundFile { get; set; }
Property Value
- string
The related sound file.
Saturation
Gets or sets the saturation.
public ExifSaturation Saturation { get; set; }
Property Value
- ExifSaturation
The saturation.
SceneCaptureType
Gets or sets the scene capture type.
public ExifSceneCaptureType SceneCaptureType { get; set; }
Property Value
- ExifSceneCaptureType
The type of the scene capture.
SceneType
Gets or sets the scene type.
public byte SceneType { get; set; }
Property Value
- byte
The type of the scene.
SensingMethod
Gets or sets the sensing method.
public ExifSensingMethod SensingMethod { get; set; }
Property Value
- ExifSensingMethod
The sensing method.
SensitivityType
Gets or sets the sensitivity type.
public ushort SensitivityType { get; set; }
Property Value
- ushort
The type of the sensitivity.
Sharpness
Gets or sets the sharpness.
public ushort Sharpness { get; set; }
Property Value
- ushort
The sharpness.
ShutterSpeedValue
Gets or sets the shutter speed value.
public TiffSRational ShutterSpeedValue { get; set; }
Property Value
- TiffSRational
The shutter speed value.
SpatialFrequencyResponse
Gets or sets the spatial frequency response.
public byte[] SpatialFrequencyResponse { get; set; }
Property Value
- byte[]
The spatial frequency response.
SpectralSensitivity
Gets or sets the spectral sensitivity.
public string SpectralSensitivity { get; set; }
Property Value
- string
The spectral sensitivity.
StandardOutputSensitivity
Gets or sets standard output sensitivity
public uint StandardOutputSensitivity { get; set; }
Property Value
- uint
The standard output sensitivity.
SubjectArea
Gets or sets the subject area.
public ushort[] SubjectArea { get; set; }
Property Value
- ushort[]
The subject area.
SubjectDistance
Gets or sets the subject distance.
public TiffRational SubjectDistance { get; set; }
Property Value
- TiffRational
The subject distance.
SubjectDistanceRange
Gets or sets the subject distance range.
public ExifSubjectDistanceRange SubjectDistanceRange { get; set; }
Property Value
- ExifSubjectDistanceRange
The subject distance range.
SubjectLocation
Gets or sets the subject location.
public ushort[] SubjectLocation { get; set; }
Property Value
- ushort[]
The subject location.
SubsecTime
Gets or sets the fractions of seconds for the DateTime tag.
public string SubsecTime { get; set; }
Property Value
- string
The fractions of seconds for the DateTime tag.
SubsecTimeDigitized
Gets or sets the fractions of seconds for the DateTimeDigitized tag.
public string SubsecTimeDigitized { get; set; }
Property Value
- string
The fractions of seconds for the DateTimeDigitized tag.
SubsecTimeOriginal
Gets or sets the fractions of seconds for the DateTimeOriginal tag.
public string SubsecTimeOriginal { get; set; }
Property Value
- string
The fractions of seconds for the DateTimeOriginal tag.
UserComment
Gets or sets the user comment.
public string UserComment { get; set; }
Property Value
- string
The user comment.
WhiteBalance
Gets or sets the white balance.
public ExifWhiteBalance WhiteBalance { get; set; }
Property Value
- ExifWhiteBalance
The white balance.
WhitePoint
Gets or sets the chromaticity of the white point of the image.
public TiffRational[] WhitePoint { get; set; }
Property Value
- TiffRational[]
The chromaticity of the white point of the image.
Methods
GetShortOrLong(ushort)
Gets short or long value.
protected uint GetShortOrLong(ushort key)
Parameters
key
ushortThe key to get value for.
Returns
- uint
Short or long value converted to integer.
RemoveTag(ExifProperties)
Remove tag from container
public void RemoveTag(ExifProperties tag)
Parameters
tag
ExifPropertiesThe tag to remove
RemoveTag(ushort)
Remove tag from container
public void RemoveTag(ushort tagId)
Parameters
tagId
ushortThe tag identifier to remove.
SetShortOrLong(ushort, uint, int)
Sets short or long value depending on the value.
protected void SetShortOrLong(ushort key, uint value, int section)