Run animated images with GDIPLUS

Run animated images with GDIPLUS

Postby ukoenig » Sun Feb 14, 2016 5:11 pm

Because animated GIF's are not transparent,
a new GDIPLUS-test showing animated transparent images.

1. extracted frames from Halo.gif
2. converted frames to PNG with alpha-channel
3. GDI-function to display animated images with defined speed, movement
and intervall from inside a defined form.
4. move-direction can be horizontal or vertical

Image

Download
http://www.pflegeplus.com/DOWNLOADS/Gditest_2.zip

best regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Run animated images with GDIPLUS

Postby Silvio.Falconi » Sun Feb 14, 2016 11:42 pm

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: Run animated images with GDIPLUS

Postby ukoenig » Mon Feb 15, 2016 11:34 am

Silvio,

Yes, I noticed the same problem.
It happens as well with sample Gdiplus3.prg
Another test : I added a dialog nowait.
The gdi belongs to the dialog ( hdc )
I added a image to the dialog.
On window resize, the image is still visible but not the gdi-object

it seems to be a problem.

best regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests