Try high quality image rescaling.
authorCarl Hetherington <cth@carlh.net>
Wed, 25 Jul 2012 21:55:32 +0000 (22:55 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 25 Jul 2012 21:55:32 +0000 (22:55 +0100)
src/wx/film_viewer.cc

index 0a077265e89de43a06a8972a1c3e39b967e3523b..ee5c470f6d28a1eb76c613eaa38dd53101fdceee 100644 (file)
@@ -84,10 +84,10 @@ public:
 
                if ((float (vw) / vh) > target) {
                        /* view is longer (horizontally) than the ratio; fit height */
-                       _cropped_image.Rescale (vh * target, vh);
+                       _cropped_image.Rescale (vh * target, vh, wxIMAGE_QUALITY_HIGH);
                } else {
                        /* view is shorter (horizontally) than the ratio; fit width */
-                       _cropped_image.Rescale (vw, vw / target);
+                       _cropped_image.Rescale (vw, vw / target, wxIMAGE_QUALITY_HIGH);
                }
 
                delete _bitmap;