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:
@@ -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
|
||||
|
Reference in New Issue
Block a user