Re: [Lazarus] about gif images
On Sat, Dec 20, 2008 at 4:07 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Do you have a fpimage reader for gif? No, fpGUI Toolkit only supports a limited BMP format at the moment. I'll start work on fpimage support in the new year. My animation component reads a composite BMP as follows: -- | frame1 | frame2 | frame3 | frame4 | -- Similar to the swimming/fortune telling Fish program you can add to a Gnome Panel. :-) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
On Sun, Dec 21, 2008 at 3:11 AM, Héctor Fiandor Rosario hfian...@infomed.sld.cu wrote: if you can sent me your solution, I will try it. You can view the fpGUI unit here... http://fpgui.svn.sourceforge.net/viewvc/fpgui/trunk/src/gui/fpg_animation.pas?view=markup Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: On Sat, Dec 20, 2008 at 4:07 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Do you have a fpimage reader for gif? No, fpGUI Toolkit only supports a limited BMP format at the moment. I'll start work on fpimage support in the new year. I just sent a gif reader based on Laurent's to Michael VC. It needs to be extended to read multiple images and the animation attributes. [...] Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
2008/12/23 Mattias Gärtner nc-gaert...@netcologne.de Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: On Sat, Dec 20, 2008 at 4:07 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Do you have a fpimage reader for gif? No, fpGUI Toolkit only supports a limited BMP format at the moment. I'll start work on fpimage support in the new year. I just sent a gif reader based on Laurent's to Michael VC. It needs to be extended to read multiple images and the animation attributes. Just for info, only first image is complet, all others is partials (only part of change in animation). For draw correctly all images, it's necesary to make with the first !!! regards -- Laurent. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
On Tue, 23 Dec 2008 16:14:03 +0100 Lord Satan reimg...@web.de wrote: On Tue, 23 Dec 2008 14:11:44 +0100 Mattias Gärtner nc-gaert...@netcologne.de wrote: I just sent a gif reader based on Laurent's to Michael VC. It needs to be extended to read multiple images and the animation attributes. This goes into the fpc source and can be used with fpimage, right? right Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
2008/12/21 Michael Van Canneyt mich...@freepascal.org On Sun, 21 Dec 2008, C Western wrote: Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias In GifAnim conponent, GifLoader is FPC Reader style, see and convert it (easy) ! regards -- Laurent. If debugging is the art of removing bugs, then programming must be the art of creating! My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
2008/12/22 wile64 wil...@gmail.com 2008/12/21 Michael Van Canneyt mich...@freepascal.org On Sun, 21 Dec 2008, C Western wrote: Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias In GifAnim conponent, GifLoader is FPC Reader style, see and convert it (easy) ! regards I have make this too (old version now, Lazarus changed reader). Reader PACK for PSD, GIF, TGA, MAC, PCX, PBM, IFF, HALO, PIC... They can be inserted into Lazarus/FPC if someone takes the time to do so ... Regard, -- Laurent. If debugging is the art of removing bugs, then programming must be the art of creating! My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
2008/12/22 wile64 wil...@gmail.com 2008/12/22 wile64 wil...@gmail.com 2008/12/21 Michael Van Canneyt mich...@freepascal.org On Sun, 21 Dec 2008, C Western wrote: Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias In GifAnim conponent, GifLoader is FPC Reader style, see and convert it (easy) ! regards I have make this too (old version now, Lazarus changed reader). Reader PACK for PSD, GIF, TGA, MAC, PCX, PBM, IFF, HALO, PIC... They can be inserted into Lazarus/FPC if someone takes the time to do so ... Regard, Too big download here http://wile64.neuf.fr/download/lazimage.zip Laurent. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias I put together a GIF reader based on fpimage a little while ago. I hadn't offered it for lazarus as it was based rather heavily on a unit in the RXLibrary, and I wasn't sure of the copyright. I note though that the relevant RXGif unit is in turn based on a freeware C library. Can anyone advise? Colin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
On Sun, 21 Dec 2008, C Western wrote: Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias I put together a GIF reader based on fpimage a little while ago. I hadn't offered it for lazarus as it was based rather heavily on a unit in the RXLibrary, and I wasn't sure of the copyright. I note though that the relevant RXGif unit is in turn based on a freeware C library. Can anyone advise? I suspect that the fpimage reading code is sufficiently different ? Maybe you can put it under modified LGPL, but say that it is based on ideas/code found in the RXGif unit ? Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
On Sat, 20 Dec 2008 13:13:34 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Tue, Dec 16, 2008 at 2:47 PM, Héctor Fiandor Rosario hfian...@infomed.sld.cu wrote: I catch an icon of a chetahh (or other animal) animated as a gif and I want to use in my forms. For fpGUI I created a simple Animation component. I reads in a composite bitmap (images forming the animation in a horizontal large [single] image). I can then set a few properties like timing, looping etc... I simply read the image, split in into separate frames and display them one after the other. Very simply, but it works very nice for some animation on a form. It should be very simple to port to LCL. Do you have a fpimage reader for gif? Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
Dear wile64: thanks for your answer. I will see GifAnim component. yours, Ing. Héctor F. Fiandor hfian...@infomed.sld.cu - Original Message - From: wile64 To: General mailing list Sent: Saturday, December 20, 2008 9:06 AM Subject: Re: [Lazarus] about gif images 2008/12/16 Héctor Fiandor Rosario hfian...@infomed.sld.cu Dear coleagues: I use the FCIcon in my first forms programs. this is an static icon. I catch an icon of a chetahh (or other animal) animated as a gif and I want to use in my forms. I will appreciate any help. yours, See GifAnim component here http://wile64.neuf.fr/en/composants/Composants.html -- Laurent. If debugging is the art of removing bugs, then programming must be the art of creating! My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php -- ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus __ Informacisn de ESET Smart Security, versisn de la base de firmas de virus 3650 (20081128) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com --- Red Telematica de Salud - Cuba CNICM - Infomed ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
Dear Mattias: thanks for your answer. I have not tried your suggestion, if you can sent to me, I will try it. I dont have a fpimage reader for gif. yours, Ing. Héctor F. Fiandor hfian...@infomed.sld.cu - Original Message - From: Mattias Gaertner nc-gaert...@netcologne.de To: lazarus@lazarus.freepascal.org Sent: Saturday, December 20, 2008 9:07 AM Subject: Re: [Lazarus] about gif images On Sat, 20 Dec 2008 13:13:34 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Tue, Dec 16, 2008 at 2:47 PM, Héctor Fiandor Rosario hfian...@infomed.sld.cu wrote: I catch an icon of a chetahh (or other animal) animated as a gif and I want to use in my forms. For fpGUI I created a simple Animation component. I reads in a composite bitmap (images forming the animation in a horizontal large [single] image). I can then set a few properties like timing, looping etc... I simply read the image, split in into separate frames and display them one after the other. Very simply, but it works very nice for some animation on a form. It should be very simple to port to LCL. Do you have a fpimage reader for gif? Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus --- Red Telematica de Salud - Cuba CNICM - Infomed ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about gif images
Dear Mr. Graeme: thanks for your answer. if you can sent me your solution, I will try it. yours Ing. Héctor F. Fiandor hfian...@infomed.sld.cu - Original Message - From: Graeme Geldenhuys graemeg.li...@gmail.com To: General mailing list lazarus@lazarus.freepascal.org Sent: Saturday, December 20, 2008 6:13 AM Subject: Re: [Lazarus] about gif images On Tue, Dec 16, 2008 at 2:47 PM, Héctor Fiandor Rosario hfian...@infomed.sld.cu wrote: I catch an icon of a chetahh (or other animal) animated as a gif and I want to use in my forms. For fpGUI I created a simple Animation component. I reads in a composite bitmap (images forming the animation in a horizontal large [single] image). I can then set a few properties like timing, looping etc... I simply read the image, split in into separate frames and display them one after the other. Very simply, but it works very nice for some animation on a form. It should be very simple to port to LCL. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus --- Red Telematica de Salud - Cuba CNICM - Infomed ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] about gif images
Dear coleagues: I use the FCIcon in my first forms programs. this is an static icon. I catch an icon of a chetahh (or other animal) animated as a gif and I want to use in my forms. I will appreciate any help. yours, Ing. Héctor F. Fiandor hfian...@infomed.sld.cu --- Red Telematica de Salud - Cuba CNICM - Infomed ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus