using System;
namespace ExifLib
{
public class JpegInfo
{
///
/// The Jpeg file name (excluding path).
///
public string FileName;
///
/// The Jpeg file size, in bytes.
///
public int FileSize;
///
/// True if the provided Stream was detected to be a Jpeg image, False otherwise.
///
public bool IsValid;
///
/// Image dimensions, in pixels.
///
public int Width, Height;
///
/// True if the image data is expressed in 3 components (RGB), False otherwise.
///
public bool IsColor;
///
/// Orientation of the image.
///
public ExifOrientation Orientation;
///
/// The X and Y resolutions of the image, expressed in ResolutionUnit.
///
public double XResolution, YResolution;
///
/// Resolution unit of the image.
///
public ExifUnit ResolutionUnit;
///
/// Date at which the image was taken.
///
public string DateTime;
///
/// Description of the image.
///
public string Description;
///
/// Camera manufacturer.
///
public string Make;
///
/// Camera model.
///
public string Model;
///
/// Software used to create the image.
///
public string Software;
///
/// Image artist.
///
public string Artist;
///
/// Image copyright.
///
public string Copyright;
///
/// Image user comments.
///
public string UserComment;
///
/// Exposure time, in seconds.
///
public double ExposureTime;
///
/// F-number (F-stop) of the camera lens when the image was taken.
///
public double FNumber;
///
/// Flash settings of the camera when the image was taken.
///
public ExifFlash Flash;
///
/// GPS latitude reference (North, South).
///
public ExifGpsLatitudeRef GpsLatitudeRef;
///
/// GPS latitude (degrees, minutes, seconds).
///
public double[] GpsLatitude = new double[3];
///
/// GPS longitude reference (East, West).
///
public ExifGpsLongitudeRef GpsLongitudeRef;
///
/// GPS longitude (degrees, minutes, seconds).
///
public double[] GpsLongitude = new double[3];
///
/// Byte offset and size of the thumbnail data within the Exif section of the image file.
/// Used internally.
///
public int ThumbnailOffset, ThumbnailSize;
///
/// Thumbnail data found in the Exif section.
///
public byte[] ThumbnailData;
///
/// Time taken to load the image information.
///
public TimeSpan LoadTime;
}
}