mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			645 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			645 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.IO;
 | 
						|
using MediaBrowser.Model.Drawing;
 | 
						|
 | 
						|
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();
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |