- January 2012
- December 2011
- November 2011
- September 2011
- July 2011
- June 2011
- May 2011
- March 2011
- January 2011
- October 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- September 2009
- July 2009
- June 2009
- May 2009
- March 2009
- September 2008
- April 2008
- December 2007
- June 2007
- June 2005
- September 2004
- May 2002
- October 2001
- August 2001
Graphics File Formats
This page contains source code for handling some of the many graphic file formats out there. If you want to find a lot of informations on file formats, I recommend Wotsit's file format site.
Displaying .BMP files
Source code to load and display a .BMP image file. This will display any uncompressed .BMP file with 256 colours and a resolution of 320x200 or less.
To download the Pascal source code (2k), click here.
To download the C source code (2k), click here.
Displaying .GIF files
Source code to load and display a Compuserve .GIF image file. This will display non-interlaced GIF87a or GIF89a files with 256 colours and a resolution of 320x200 or less.
To download the Pascal source code (3k), click here.
To download the C/C++ source code (3k), click here.
Displaying .PCX files
Source code to load and display a .PCX image file. This will display any standard .PCX file with 256 colours and a resolution of 320x200 or less.
To download the Pascal source code (2k), click here.
To download the DJGPP/C(++) source code (1k), click here.
To download the QuickBASIC source code (1k), click here.
Image unit
Pascal unit with a uniform interface that can handle BMP, GIF and PCX images.
To download the Pascal source code (48k), click here.