Files
Minint/Minint.Core/Services/IBmpExporter.cs
2026-03-29 15:34:33 +03:00

14 lines
489 B
C#

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);
}