using MediaBrowser.Model.Drawing; using System; using System.IO; namespace MediaBrowser.Controller.Drawing { public class ImageStream : IDisposable { /// /// Gets or sets the stream. /// /// The stream. public Stream Stream { get; set; } /// /// Gets or sets the format. /// /// The format. public ImageFormat Format { get; set; } public void Dispose() { if (Stream != null) { Stream.Dispose(); } } } }