diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-25 22:55:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-25 22:55:32 +0100 |
| commit | 0f5081b47588bd9f02adeb163e10d005a86a6da5 (patch) | |
| tree | b241630566db77300ade4ccb35cc1a91bc579df2 /src | |
| parent | 91dd8a42f88fec7e7e30a529af05e5ff5d77538a (diff) | |
Try high quality image rescaling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 0a077265e..ee5c470f6 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -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; |
