using MediaBrowser.Controller.Drawing; using MediaBrowser.Model.Drawing; using System; namespace Emby.Drawing { public interface IImageEncoder : IDisposable { /// /// Gets the supported input formats. /// /// The supported input formats. string[] SupportedInputFormats { get; } /// /// Gets the supported output formats. /// /// The supported output formats. ImageFormat[] SupportedOutputFormats { get; } /// /// Gets the size of the image. /// /// The path. /// ImageSize. ImageSize GetImageSize(string path); /// /// Crops the white space. /// /// The input path. /// The output path. void CropWhiteSpace(string inputPath, string outputPath); /// /// Encodes the image. /// /// The input path. /// The output path. /// The width. /// The height. /// The quality. /// The options. void EncodeImage(string inputPath, string outputPath, int width, int height, int quality, ImageProcessingOptions options); /// /// Creates the image collage. /// /// The options. void CreateImageCollage(ImageCollageOptions options); /// /// Gets the name. /// /// The name. string Name { get; } } }