namespace Minint.Core.Services;

public interface IBmpExporter
{
    /// <summary>
    /// Exports a composited ARGB pixel buffer as a 32-bit BMP file.
    /// </summary>
    /// <param name="stream">Output stream.</param>
    /// <param name="pixels">Pixel data packed as 0xAARRGGBB, row-major.</param>
    /// <param name="width">Image width.</param>
    /// <param name="height">Image height.</param>
    void Export(Stream stream, uint[] pixels, int width, int height);
}
