TAnimatedGif - make animated Gifs for FireMonkey (fmx) apps

Last Modified:



TAnimatedGif is a FireMonkey (fmx) class Library for creating animated Gifs.

Important: This library may be used freely in commercial and private. However, we have no concern about the results of library use.



If you have any suggestions or questions, please email us here: ofni.noinalem@inimqe



Features


Cross-platform compatibility

You can use this library for cross-platform development.

Easy to use

Gif := TAnimatedGif.Create('Test', 0, true);  // comment, Loop, Optimize
Bitmap := TBitmap.Create;
try
  for ... do begin
    Bitmap.LoadFromFile(...);
    Gif.AddImage(Bitmap, 100));   // display time (msec) of a frame
  end;
  Gif.SaveToFile('Test.gif');
finally
  Gif.DisposeOf;
  Bitmap.DisposeOf;
end;

Optimization

This option keeps the first frame in the background, and makes unchanged parts of the following frames transparent.
make animated Gifs for FireMonkey (fmx) apps optimize
Sample
make animated Gifs for FireMonkey (fmx) apps optimize
replay gif


With a demo project

make animated Gifs for FireMonkey (fmx) apps

Free download (with full source code)