Cosmos/source/Cosmos.System2/Graphics/Image.cs
Quajak b12f4fc3b6 Fixed Filestream write
Did requested changes
Added test for Filestream read and write
2018-03-22 21:38:41 +01:00

26 lines
596 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.System.Graphics
{
public abstract class Image
{
public int[] rawData;
public uint Width { get; protected set; }
public uint Height { get; protected set; }
public ColorDepth Depth { get; protected set; }
protected Image(uint width, uint height, ColorDepth color)
{
Width = width;
Height = height;
Depth = color;
}
}
public enum ImageFormat
{
bmp
} //Add more as more are supported
}