Bitmap is a raster graphics image file format with the extensions of .BMP or .DIB (Device Independent Bitmap) used in Microsoft Windows and OS/2 operating systems. The file format can be stored uncompressed and some, like GIF, are difficult to decompress.
The Bitmap Animator program shows how you can easily load and animate bitmap images in a C++ program (in Turbo C++). The Bitmap Animator program supports 256-color bitmaps; it has a 54-byte header followed by a 1024-byte palette table. After that is the actual bitmap, which starts at the lower-left hand corner. This program uses BGI Graphics to render all the graphics.
Screenshots
The following screenshots show you how this program works :
Download
Click here to view and download the source code of Bitmap Animator (120 KB).
Click here to download the executable file of Bitmap Animator (118 KB) (Please note that it is a 16-bit executable and will not run on 64-bit systems).
No comments:
Post a Comment