namespace zero.Media;
///
/// Metadata for images
///
public class MediaImageMetadata
{
///
/// Alternative text which is used when the image can't be loaded
///
public string AlternativeText { get; set; }
///
/// Define custom thumbnails which are generated on upload
/// (see IZeroOptions.For().Thumbnails)
///
public Dictionary Thumbnails { get; set; } = new();
///
/// Optional focal point for an image
///
public MediaFocalPoint FocalPoint { get; set; }
///
/// Width in pixels
///
public int Width { get; set; }
///
/// Height in pixels
///
public int Height { get; set; }
///
/// Resolution factor
///
public double DPI { get; set; }
///
/// Date the image was taken
///
public DateTimeOffset? ImageTakenDate { get; set; }
///
/// Original color space of the image
///
public string ColorSpace { get; set; }
///
/// Whether this image contains transparent pixels
///
public bool HasTransparency { get; set; }
///
/// How many frames contains this image (for animation)
///
public int Frames { get; set; } = 1;
}