If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Okay, it works and now i can save png after quatize. But wxGIFHandler::SaveAnimation doesn't uses alpha channel, so, i think, it's need to be transparent color in pallette. Or i goes in wrong way?
I'm need to create gif image from others images.
GIF images does not use alpha. They use a 256 colours palette.
One of the colours in the palette can be told be transparent. This is not the same as setting for each pixel a different level of transparency.
Each image of the animation has it own palette and trasnparent index.
So, it's not just a matter of adding an alpha channel to a GIF.
Saving GIFs requires images of maximum 8 bpp (see wxQuantize), and the alpha channel converted to a mask (see wxImage::ConvertAlphaToMask). Saving an animated GIF requires images of the same size (see wxGIFHandler::SaveAnimation)
It seems, that frame doesn't clears after drawing.
This is hardly a useful error description. If you draw with tranparency, the background must be in a "defined" state, e.g. usually it has to be cleared first. So you if had a blank erase background handler before to avoid flickering, you'll probably get redraw problems now.
But without seeing code what you're actually doing, it's only guessing.
Okay. I don't draw anything. Do u see the pucture? When character from picture moving, then it's leaves a trail.
I only have array of pictures to pass to wxGIFHandler::SaveAnimation. It's need to me to take valid gif animation from picture array.
I mean that if gif is diff-based format, then it's seems to wxwidgets don't correct makes these "diffs" when there is transparent pixels.