using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace Tango.ScreenCapture { public interface IScreenCaptureFrame : IDisposable where T : class, IDisposable { int Width { get; } int Height { get; } bool DifferenceAvailable { get; } BitmapSource ToBitmapSource(); Bitmap ToBitmap(); T ToDifference(); byte[] ToArray(); byte[] ToJpeg(int quality = 100); byte[] ToPng(); MemoryStream ToStream(); } }