Этап 2
This commit is contained in:
13
Minint.Core/Services/IBmpExporter.cs
Normal file
13
Minint.Core/Services/IBmpExporter.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user