Files
mixtape/zero.Core/Entities/Media/MediaImageMeta.cs
T

46 lines
968 B
C#
Raw Normal View History

2020-08-24 13:22:42 +02:00
using System;
namespace zero.Core.Entities
{
/// <summary>
/// Metadata for images
/// </summary>
public class MediaImageMeta
{
/// <summary>
/// Width in pixels
/// </summary>
public int Width { get; set; }
/// <summary>
/// Height in pixels
/// </summary>
public int Height { get; set; }
/// <summary>
/// Resolution factor
/// </summary>
public double DPI { get; set; }
/// <summary>
/// Date the image was taken
/// </summary>
public DateTimeOffset? CreatedDate { get; set; }
/// <summary>
/// Original color space of the image
/// </summary>
public string ColorSpace { get; set; }
/// <summary>
/// Whether this image contains transparent pixels
/// </summary>
public bool HasTransparency { get; set; }
/// <summary>
2020-08-24 15:17:43 +02:00
/// How many frames contains this image (for animation)
2020-08-24 13:22:42 +02:00
/// </summary>
2020-08-24 15:17:43 +02:00
public int Frames { get; set; } = 1;
2020-08-24 13:22:42 +02:00
}
}