Example: Read 256-Color Bitmap

Example FGIW5 first uses fgi_showbmp() to display the CORAL.BMP image from our example FGI library. Next It uses fgi_read() to read the FISH.MAP bitmap. It then displays the bitmap with Fastgraph's 256-color bitmap display function, fg_drwimage(). Because we know the size of the fish bitmap is 1,680 bytes, we'll use an array of that size to hold the bitmap.

C/C++ version

C++Builder version

Delphi version

Visual Basic version

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.