Sign in Join
Wiki copytemporary

GIF: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-GIF is a graphic format. From about 2004 year, code for LZW compressing (for GIF) is free. So it's free.
1+GIF is a graphic format. From about 2004 year, code for LZW compressing (for GIF) is free. So it's free.
22
3-To show GIF image, animated or not, you can use [AnimatedGif library](<http://consume.o2switch.net/lazarus/>). It gives unit which self-registers in Free Pascal classes, and also in Lazarus' TPicture:
4-```
3+To show GIF image, animated or not, you can use [AnimatedGif library](http://consume.o2switch.net/lazarus/). It gives unit which self-registers in Free Pascal classes, and also in Lazarus' TPicture:
4+
5+``` pascal
56initialization
6-
7- //Free Pascal Image
8- ImageHandlers.RegisterImageReader ('Animated GIF', TAnimatedGif.GetFileExtensions, TFPReaderGIF);
9-
10- //Lazarus Picture
11- TPicture.RegisterFileFormat(TAnimatedGif.GetFileExtensions,'Animated GIF', TAnimatedGif);
7+
8+ //Free Pascal Image
9+ ImageHandlers.RegisterImageReader ('Animated GIF', TAnimatedGif.GetFileExtensions, TFPReaderGIF);
10+
11+ //Lazarus Picture
12+ TPicture.RegisterFileFormat(TAnimatedGif.GetFileExtensions,'Animated GIF', TAnimatedGif);
1213```
1314
1415---
15-*From the Free Pascal wiki, page "GIF", as the Internet Archive kept it on 2026-01-31. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
16+*From the Free Pascal wiki, page "GIF", as it stood on 2020-02-16 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
17+Category: Graphics

Back to history