FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Run animated images with GDIPLUS
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Run animated images with GDIPLUS
Posted: Sun Feb 14, 2016 05: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



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

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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Run animated images with GDIPLUS
Posted: Sun Feb 14, 2016 11:42 PM
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Run animated images with GDIPLUS
Posted: 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.

Continue the discussion