aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 12:02:30 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 12:02:30 -0400
commita529f07869f68918d07f607ca908f89f658236fb (patch)
treea1fda1c243623becf3fa56915709b4e9d81d00d2
parent8775498732a05bd9aa3a48354fb0522acd8a1515 (diff)
Removed unused code
-rw-r--r--MediaBrowser.Api/ImageProcessor.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/MediaBrowser.Api/ImageProcessor.cs b/MediaBrowser.Api/ImageProcessor.cs
index 723ea1bdd..10fa73daa 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