Tuesday, January 8, 2008

Fun with plugins

In a previous post, I was talking about an image that contained all frames of a movie, with precalculated zoom levels.

I have now created a specific plugin, that reads AVI files, thanks to Win32's AVIFile API.

The image from the AVI is now completely virtual, and tiles are created on demand.
It is even possible to zoom out 3 levels, at a performance cost because each time you zoom out, 4 times the previous number of tiles have to be loaded.
On a sample movie (640x352), this does not look so bad and complete movie is browsable.

Here is a screendump:


As usual, source code or dll for this plugin is available on-demand.

No comments: