[f-spot] Remove unused Resize code from PixbufUtils



commit ea2d1fe8e71e170b848c90b8fd67e99a35d4d975
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri Jun 19 15:02:14 2009 +0200

    Remove unused Resize code from PixbufUtils

 src/PixbufUtils.cs |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/PixbufUtils.cs b/src/PixbufUtils.cs
index 66e7423..7491f6b 100644
--- a/src/PixbufUtils.cs
+++ b/src/PixbufUtils.cs
@@ -417,28 +417,6 @@ public class PixbufUtils {
 		return scaled;
 	}
 
-	public static string Resize (string orig_path, int size, bool copy_meta)
-	{
-		string version_path = System.IO.Path.GetTempFileName ();
-		Resize (orig_path, version_path, size, copy_meta);
-		return version_path;
-	}
-
-	public static void Resize (string orig_path, string dest_path, int size, bool copy_meta)
-	{
-		Exif.ExifData exif_data;
-		if (copy_meta)
-			exif_data = new Exif.ExifData (orig_path);
-		else 
-			exif_data = new Exif.ExifData ();
-
-		Gdk.Pixbuf image = PixbufUtils.LoadAtMaxSize (orig_path, size, size);
-
-		PixbufUtils.SaveJpeg (image, dest_path, 95, exif_data);
-		image.Dispose ();
-	}
-	
-
 	public static Pixbuf Flatten (Pixbuf pixbuf)
 	{
 		if (!pixbuf.HasAlpha)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]