From a529f07869f68918d07f607ca908f89f658236fb Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Thu, 6 Sep 2012 12:02:30 -0400 Subject: [PATCH] Removed unused code --- MediaBrowser.Api/ImageProcessor.cs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/MediaBrowser.Api/ImageProcessor.cs b/MediaBrowser.Api/ImageProcessor.cs index 723ea1bdd8..10fa73daad 100644 --- a/MediaBrowser.Api/ImageProcessor.cs +++ b/MediaBrowser.Api/ImageProcessor.cs @@ -54,26 +54,6 @@ namespace MediaBrowser.Api originalImage.Dispose(); } - private static Graphics GetThumbnailGraphics(Image originalImage, Bitmap thumbnail) - { - thumbnail = new Bitmap(originalImage); - return Graphics.FromImage(thumbnail); - /*try - { - return Graphics.FromImage(thumbnail); - } - catch - { - Bitmap tmp = new Bitmap(thumbnail.Width, thumbnail.Height); - tmp.c - - Graphics graphics = Graphics.FromImage(tmp); - graphics.DrawImage(thumbnail, new Rectangle(0, 0, tmp.Width, tmp.Height), 0, 0, tmp.Width, tmp.Height, GraphicsUnit.Pixel); - - return graphics; - }*/ - } - private static void Write(Image originalImage, Image newImage, Stream toStream, int? quality) { // Use special save methods for jpeg and png that will result in a much higher quality image