Added support for saving PNG files with palette.
Based on (heavily modified) patch by troelsk. Closes #12505. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,7 +55,8 @@ enum wxImagePNGType
|
||||
{
|
||||
wxPNG_TYPE_COLOUR = 0, ///< Colour PNG image.
|
||||
wxPNG_TYPE_GREY = 2, ///< Greyscale PNG image converted from RGB.
|
||||
wxPNG_TYPE_GREY_RED = 3 ///< Greyscale PNG image using red as grey.
|
||||
wxPNG_TYPE_GREY_RED = 3, ///< Greyscale PNG image using red as grey.
|
||||
wxPNG_TYPE_PALETTE = 4 ///< Palette encoding.
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user