You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
648 B
29 lines
648 B
using MediaBrowser.Model.Drawing;
|
|
using System;
|
|
using System.IO;
|
|
|
|
namespace MediaBrowser.Controller.Drawing
|
|
{
|
|
public class ImageStream : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the stream.
|
|
/// </summary>
|
|
/// <value>The stream.</value>
|
|
public Stream Stream { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the format.
|
|
/// </summary>
|
|
/// <value>The format.</value>
|
|
public ImageFormat Format { get; set; }
|
|
|
|
public void Dispose()
|
|
{
|
|
if (Stream != null)
|
|
{
|
|
Stream.Dispose();
|
|
}
|
|
}
|
|
}
|
|
}
|