using System;
using System.IO;
using MediaBrowser.Model.Drawing;
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();
}
}
}
}