Class ApiExifMetadata
Image EXIF metadata. Fields are populated on a best-effort basis and may be empty when absent from the source file.
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiExifMetadata
Constructors
View SourceApiExifMetadata(uint, uint, string, string, string, string, string, uint, string, double, uint, string, double, string, string, ApiExifGpsMetadata)
Initializes a new instance of the ApiExifMetadata class.
Declaration
public ApiExifMetadata(uint imageWidth = 0, uint imageHeight = 0, string cameraMake = "", string cameraModel = "", string lensModel = "", string dateTimeOriginal = "", string offsetTimeOriginal = "", uint orientation = 0, string exposureTime = "", double apertureValue = 0, uint isoSpeed = 0, string focalLength = "", double megapixels = 0, string artist = "", string copyright = "", ApiExifGpsMetadata gpsMetadata = null)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | imageWidth | Width of the image, in pixels. |
| uint | imageHeight | Height of the image, in pixels. |
| string | cameraMake | Manufacturer of the device that captured the image, e.g. "Apple". |
| string | cameraModel | Model of the device that captured the image, e.g. "iPhone 15 Pro". |
| string | lensModel | Model of the lens the image was captured with, when the source records it. |
| string | dateTimeOriginal | Capture time in the EXIF-provided format (local time of the camera). |
| string | offsetTimeOriginal | Timezone offset for DateTimeOriginal, e.g. "+09:00". |
| uint | orientation | EXIF orientation value (1-8). See the EXIF spec; 1 is the normal upright orientation. |
| string | exposureTime | Exposure time the image was captured with, as a fractional-second string, e.g. "1/250". |
| double | apertureValue | Aperture the image was captured at, as reported by the EXIF aperture tag. |
| uint | isoSpeed | ISO sensitivity the image was captured at. |
| string | focalLength | Focal length the image was captured at, including the unit, e.g. "26.0 mm". |
| double | megapixels | Total pixel count of the image, in megapixels. |
| string | artist | Creator credited in the EXIF artist tag. |
| string | copyright | Copyright notice from the EXIF copyright tag. |
| ApiExifGpsMetadata | gpsMetadata | Location tags from the image, when the source recorded a location. |
Properties
View SourceApertureValue
Aperture the image was captured at, as reported by the EXIF aperture tag.
Declaration
public double ApertureValue { get; protected set; }
Property Value
| Type | Description |
|---|---|
| double |
Artist
Creator credited in the EXIF artist tag.
Declaration
public string Artist { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
CameraMake
Manufacturer of the device that captured the image, e.g. "Apple".
Declaration
public string CameraMake { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
CameraModel
Model of the device that captured the image, e.g. "iPhone 15 Pro".
Declaration
public string CameraModel { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Copyright
Copyright notice from the EXIF copyright tag.
Declaration
public string Copyright { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
DateTimeOriginal
Capture time in the EXIF-provided format (local time of the camera).
Declaration
public string DateTimeOriginal { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
ExposureTime
Exposure time the image was captured with, as a fractional-second string, e.g. "1/250".
Declaration
public string ExposureTime { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
FocalLength
Focal length the image was captured at, including the unit, e.g. "26.0 mm".
Declaration
public string FocalLength { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
GpsMetadata
Location tags from the image, when the source recorded a location.
Declaration
public ApiExifGpsMetadata GpsMetadata { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ApiExifGpsMetadata |
ImageHeight
Height of the image, in pixels.
Declaration
public uint ImageHeight { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
ImageWidth
Width of the image, in pixels.
Declaration
public uint ImageWidth { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
IsoSpeed
ISO sensitivity the image was captured at.
Declaration
public uint IsoSpeed { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
LensModel
Model of the lens the image was captured with, when the source records it.
Declaration
public string LensModel { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Megapixels
Total pixel count of the image, in megapixels.
Declaration
public double Megapixels { get; protected set; }
Property Value
| Type | Description |
|---|---|
| double |
OffsetTimeOriginal
Timezone offset for DateTimeOriginal, e.g. "+09:00".
Declaration
public string OffsetTimeOriginal { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Orientation
EXIF orientation value (1-8). See the EXIF spec; 1 is the normal upright orientation.
Declaration
public uint Orientation { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |