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