git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32371
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 'Quality' is a number between 0 (terrible) and 100 (very good).
// The default (in jcparam.c, jpeg_set_defaults) is 75,
// and force_baseline is TRUE.
// 'Quality' is a number between 0 (terrible) and 100 (very good).
// The default (in jcparam.c, jpeg_set_defaults) is 75,
// and force_baseline is TRUE.
- if (image->HasOption(wxT("quality")))
- jpeg_set_quality(&cinfo, image->GetOptionInt(wxT("quality")), TRUE);
+ if (image->HasOption(wxIMAGE_OPTION_QUALITY))
+ jpeg_set_quality(&cinfo, image->GetOptionInt(wxIMAGE_OPTION_QUALITY), TRUE);
// set the resolution fields in the output file
UINT16 resX,
// set the resolution fields in the output file
UINT16 resX,