using System; using System.Collections.Generic; using System.Text; namespace Cosmos.System.Graphics { /// /// Image class. /// public abstract class Image { /// /// Get and set raw data (pixels array). /// public int[] rawData; /// /// Get and set image width. /// public uint Width { get; protected set; } /// /// Get and set image height. /// public uint Height { get; protected set; } /// /// Get and set image color depth. /// public ColorDepth Depth { get; protected set; } /// /// Create new instance of class. /// /// Image width. /// Image height. /// Color depth. protected Image(uint width, uint height, ColorDepth color) { Width = width; Height = height; Depth = color; } } /// /// Supported image formats. /// public enum ImageFormat { bmp } //Add more as more are supported }