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

14 lines
516 B
C#

namespace Minint.Core.Services;
public interface IGifExporter
{
/// <summary>
/// Exports multiple frames as an animated GIF.
/// </summary>
/// <param name="stream">Output stream.</param>
/// <param name="frames">Sequence of (ARGB pixels, delay in ms) per frame.</param>
/// <param name="width">Frame width.</param>
/// <param name="height">Frame height.</param>
void Export(Stream stream, IReadOnlyList<(uint[] Pixels, uint DelayMs)> frames, int width, int height);
}