Move RGBA image contract to model
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
using System.Buffers.Binary;
|
||||
using Age.Engine.Model;
|
||||
|
||||
namespace Age.Engine.Sys4;
|
||||
|
||||
/// <summary>A decoded, tightly packed, top-down RGBA8 image.</summary>
|
||||
public sealed record RgbaImage(int Width, int Height, byte[] Pixels);
|
||||
|
||||
/// <summary>
|
||||
/// Platform-neutral Eushully AGF decoder. Format algorithm ported from GARbro's MIT-licensed
|
||||
/// ArcFormats/Eushully/ImageAGF.cs (Copyright (C) 2015 morkt).
|
||||
|
||||
Reference in New Issue
Block a user