Animation Plug-ins
Back to index
 

Animation plug-ins are the most complicated plug-ins for Futuris Imager..

Animation plug-ins registered per extension. They appear in "Open" dialog.

These plug-ins should be absolutely silent. No error messages or messageboxes should appear.

To create animation plug-in you need to export 5 functions: FIPISanimInit, FIPISanimConfirm, FIPISanimRestart, FIPISanimGetFrame, FIPISanimDeInit.

FIPISanimInit is called when animation file must be opened. After than Imager calls FIPISanimConfirm to confirm whether file is animation (or may be same extension, but non-animated, as animated and non-animated GIFs for example).

After that Imager starts calling FIPISanimGetFrame to get frames. Your plug-in must count frames, loops or whatever.

When program needs to unload image it'll call FIPISanimDeInit and after that unload dll.

Function FIPISanimRestart called when Imager needs to restart animation. After this call ypur plug-in must return frames from the very beginning.

Animation plug-ins must have FIPIS resource and export FIPISabout function.

 
© 1999-2001 Alexander S. Tereschenko