added support for saving grey and grey-red PNG images (patch 985447)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,17 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_LIBPNG
|
||||
|
||||
#define wxIMAGE_OPTION_PNG_FORMAT wxT("PngFormat")
|
||||
#define wxIMAGE_OPTION_PNG_BITDEPTH wxT("PngBitDepth")
|
||||
|
||||
enum
|
||||
{
|
||||
wxPNG_TYPE_COLOUR = 0,
|
||||
wxPNG_TYPE_GREY = 2,
|
||||
wxPNG_TYPE_GREY_RED = 3,
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxPNGHandler: public wxImageHandler
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user