Example: Reading Image FilesExample FGIW4 uses fgi_read() to read the CLOUDS.PCX image from EXAMPLE.FGI into a dynamically allocated buffer whose size is determined by fgi_filesize(). After retrieving the image, the program points fg_imagebuf() to that buffer so it can display the image from an array with fg_showpcx().
|
 
copyright 2001 Ted Gruber Software, Inc.