added the possibility to rescale the image during loading, especially useful with JPEGs (#8390) (change to the sample accidentally committed as r56820)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-17 13:54:42 +00:00
parent 95706ac162
commit 36abe9d421
4 changed files with 68 additions and 12 deletions

View File

@@ -36,6 +36,9 @@
#define wxIMAGE_OPTION_RESOLUTIONUNIT wxString(_T("ResolutionUnit"))
#define wxIMAGE_OPTION_MAX_WIDTH wxString(_T("MaxWidth"))
#define wxIMAGE_OPTION_MAX_HEIGHT wxString(_T("MaxHeight"))
// constants used with wxIMAGE_OPTION_RESOLUTIONUNIT
//
// NB: don't change these values, they correspond to libjpeg constants