diff --git a/GameRes/Image.cs b/GameRes/Image.cs index 1d05401b..aab3b796 100644 --- a/GameRes/Image.cs +++ b/GameRes/Image.cs @@ -33,12 +33,26 @@ namespace GameRes { public class ImageMetaData { + /// Image width in pixels. public uint Width { get; set; } + + /// Image height in pixels. public uint Height { get; set; } + + /// Horizontal coordinate of the image top left corner. public int OffsetX { get; set; } + + /// Vertical coordinate of the image top left corner. public int OffsetY { get; set; } + + /// Image bitdepth. public int BPP { get; set; } + + /// Image source file name, if any. public string FileName { get; set; } + + public int iWidth { get { return (int)Width; } } + public int iHeight { get { return (int)Height; } } } public class ImageEntry : Entry