Home | Site Map
Sunlight

TileAVI

Introduction

TileAVI was created to ease the task of preparing animations for sprite-based graphic programs. It accepts an AVI file containing a single uncompressed video stream, and outputs the frames to a Windows bitmap file.

Updated 10th July 2002 to fix small bug and make it Visual C++.NET compatible.

Code Notes

You can download the source code.

Things to note:

  • TileAVI uses the AVIFile functions to read AVI files. These functions present a COM interface, which is used here instead of the function-based wrapper.
  • The frames are written into a bitmap 512 pixels wide. If you want it to write wider bitmaps, change the #define at the top of the code.

Download

Source code (5k): TileAVI.cpp

Program (44k): TileAVI.exe