Discussion:
TGIFImage
(too old to reply)
Sasan
2008-07-20 15:09:34 UTC
Permalink
Hi,
TGIFImage in RAD 2007 show picture, can use it for showing GIF animation ?

Regards,
sasan.
Clayton Arends
2008-07-20 14:51:09 UTC
Permalink
Post by Sasan
TGIFImage in RAD 2007 show picture, can use it for showing GIF
animation ?
Look at the Animate property of the class.

Unfortunately there is no help for this class or unit. But, this class has
been around for a long time prior to RAD 2007. Do a newsgroup search
(http://groups.google.com) for "tgifimage animate" and you should find
plenty of examples and suggestions.

Clayton
Sasan
2008-07-20 16:09:48 UTC
Permalink
Thank you,
How can prevent from gif image flicker ?

Thanks,
sasan.
Post by Clayton Arends
Post by Sasan
TGIFImage in RAD 2007 show picture, can use it for showing GIF animation ?
Look at the Animate property of the class.
Unfortunately there is no help for this class or unit. But, this class
has been around for a long time prior to RAD 2007. Do a newsgroup search
(http://groups.google.com) for "tgifimage animate" and you should find
plenty of examples and suggestions.
Clayton
Clayton Arends
2008-07-20 15:19:48 UTC
Permalink
Post by Sasan
Thank you,
How can prevent from gif image flicker ?
What are you drawing the gif on? Is it loaded in a TImage? If so, then the
question is "How do I prevent flicker in TImage". If you do a newsgroup
search for "TImage flicker" you should get plenty of ideas. If it is not in
a TImage then post again but the same principle that avoids flickers in
TImage will usually apply to whatever else you are doing.

Personally, I just set the "DoubleBuffered" property of the parent to true.
This property must be set at runtime since it is not published. The
constructor of the form is a good place to do this.

HTH,
Clayton
Sasan
2008-07-21 05:27:05 UTC
Permalink
Thank you,
Set parent DoubleBuffered remove TImage flicker.

sasan.
Post by Clayton Arends
Post by Sasan
Thank you,
How can prevent from gif image flicker ?
What are you drawing the gif on? Is it loaded in a TImage? If so, then
the question is "How do I prevent flicker in TImage". If you do a
newsgroup search for "TImage flicker" you should get plenty of ideas. If
it is not in a TImage then post again but the same principle that avoids
flickers in TImage will usually apply to whatever else you are doing.
Personally, I just set the "DoubleBuffered" property of the parent to
true. This property must be set at runtime since it is not published. The
constructor of the form is a good place to do this.
HTH,
Clayton
Randy
2008-08-26 18:24:27 UTC
Permalink
On Jul 20, 11:19 am, "Clayton Arends"
Post by Clayton Arends
Post by Sasan
Thank you,
How can prevent from gif image flicker ?
What are you drawing the gif on? Is it loaded in a TImage? If so, then the
question is "How do I prevent flicker in TImage". If you do a newsgroup
....
Personally, I just set the "DoubleBuffered" property of the parent to true.
This property must be set at runtime since it is not published. The
constructor of the form is a good place to do this.
I've been trying to find a way get the flicker out of GIF animations
(TGIFImage) for YEARS. This really helped. Thanks!

Loading...