IAnimationRenderer.cs 534 B

123456789101112131415161718
  1. using Drawie.Backend.Core.Surfaces.ImageData;
  2. namespace PixiEditor.AnimationRenderer.Core;
  3. public interface IAnimationRenderer
  4. {
  5. public Task<bool> RenderAsync(List<Image> imageStream, string outputPath, CancellationToken cancellationToken, Action<double>? progressCallback);
  6. public bool Render(List<Image> imageStream, string outputPath, CancellationToken cancellationToken, Action<double>? progressCallback);
  7. }
  8. public enum QualityPreset
  9. {
  10. VeryLow = 0,
  11. Low = 1,
  12. Medium = 2,
  13. High = 3,
  14. VeryHigh = 4,
  15. }