* * *

Author Topic: *.gif Animations in Lazarus  (Read 15835 times)

StevenMG

  • Newbie
  • Posts: 1
*.gif Animations in Lazarus
« on: July 20, 2011, 10:30:54 pm »
I was trying to get a .gif file working in Lazarus, but Lazarus does not have any component for it. :( I tried a few third party components, but i couldn't get any of them working. >:( If anyone knows of a good .gif animation component pleas tell me.

lainz

  • Guest
Re: *.gif Animations in Lazarus
« Reply #1 on: July 20, 2011, 10:47:57 pm »
I was trying to get a .gif file working in Lazarus, but Lazarus does not have any component for it. :( I tried a few third party components, but i couldn't get any of them working. >:( If anyone knows of a good .gif animation component pleas tell me.

I don't know, but you can use BGRASpriteAnimation to create animations from bitmap.

Is better than gif because you can use Alpha images.

http://wiki.lazarus.freepascal.org/BGRASpriteAnimation

Edit: now you can call AnimatedGifToSprite to convert any .gif animation you have and then load to BGRASpriteAnimation.
« Last Edit: August 06, 2011, 05:10:20 pm by lainz »

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2487
Re: *.gif Animations in Lazarus
« Reply #2 on: August 04, 2011, 10:27:28 am »
I was trying to get a .gif file working in Lazarus, but Lazarus does not have any component for it. :( I tried a few third party components, but i couldn't get any of them working. >:( If anyone knows of a good .gif animation component pleas tell me.

iirc lazarus has the htmllite components, and afaik it has a component (or at least code) to animate a gif
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

mica

  • Full Member
  • ***
  • Posts: 188

jw

  • Full Member
  • ***
  • Posts: 117
Re: *.gif Animations in Lazarus
« Reply #4 on: August 30, 2011, 06:33:00 am »
another very good one is vampyre imaging library
http://imaginglib.sourceforge.net/

lainz

  • Guest
Re: *.gif Animations in Lazarus
« Reply #5 on: August 30, 2011, 05:45:37 pm »
BGRABitmap's TBGRAAnimatedGif

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus