projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
91dd8a4
)
Try high quality image rescaling.
author
Carl Hetherington
<cth@carlh.net>
Wed, 25 Jul 2012 21:55:32 +0000
(22:55 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 25 Jul 2012 21:55:32 +0000
(22:55 +0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 0a077265e89de43a06a8972a1c3e39b967e3523b..ee5c470f6d28a1eb76c613eaa38dd53101fdceee 100644
(file)
--- 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;