[f-spot] Switch to bilinear scaling for thumbnails.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Switch to bilinear scaling for thumbnails.
- Date: Thu, 17 Jun 2010 12:34:47 +0000 (UTC)
commit bc05ab49419e7e9fc86fa41ac2ea9fc37bf580cd
Author: Ruben Vermeersch <ruben savanne be>
Date: Thu Jun 17 14:33:29 2010 +0200
Switch to bilinear scaling for thumbnails.
https://bugzilla.gnome.org/show_bug.cgi?id=621881
src/Utils/XdgThumbnailSpec.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Utils/XdgThumbnailSpec.cs b/src/Utils/XdgThumbnailSpec.cs
index b31a385..93a5a91 100644
--- a/src/Utils/XdgThumbnailSpec.cs
+++ b/src/Utils/XdgThumbnailSpec.cs
@@ -76,7 +76,7 @@ namespace FSpot.Utils
double scale = Math.Max (1.0, Math.Max (scale_x, scale_y));
int target_x = (int) (pixbuf.Width / scale);
int target_y = (int) (pixbuf.Height / scale);
- var thumb_pixbuf = pixbuf.ScaleSimple (target_x, target_y, InterpType.Nearest);
+ var thumb_pixbuf = pixbuf.ScaleSimple (target_x, target_y, InterpType.Bilinear);
pixbuf.Dispose ();
var file = GLib.FileFactory.NewForUri (uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]