How to display .gif (with animation) on dc
Posted
by mukul sharma
on Stack Overflow
See other posts from Stack Overflow
or by mukul sharma
Published on 2010-06-01T09:57:54Z
Indexed on
2010/06/01
10:03 UTC
Read the original article
Hit count: 285
wxpython
Hi All,
in my application i am having a panel with associated a wxWindowDC and wxMemoryDC. i have to draw the various thing on that panel like bg color, on top of bg color bg image and on the top bg image i have to draw some text etc.
I am storing all this thing into memory dc and finally in paint handler i m copying the memory dc to window dc.
But i stuck in this process when i have a .gif (with multiple frames) and i m trying to bliting this gif image on DC that time it shows only a single frame of that gif image (its became a ordinary still image not an animated image).
how i can store this whole gif image in memory dc and display full gif image on dc(with animation).
I cant use wx.AnimateCrl() because i need that image in memoryDC.
Any help really appreciable.
© Stack Overflow or respective owner