BGI image
From Just Solve the File Format Problem
(Difference between revisions)
Line 6: | Line 6: | ||
}} | }} | ||
The [[Borland Graphics Interface]] (BGI) library contains <code>getimage()</code> and <code>putimage()</code> functions to save and load images. The images thus saved have a 4-byte header (two little-endian words giving the image's width and height) followed by the image data, in a form specific to the driver used. A 16-colour VGA image will contain four monochrome bitmaps for the four planes. These images, with a .ICN extension, are used as icons by [[RIPscrip Icon|RIPscrip 1.x]] and Counterpoint. | The [[Borland Graphics Interface]] (BGI) library contains <code>getimage()</code> and <code>putimage()</code> functions to save and load images. The images thus saved have a 4-byte header (two little-endian words giving the image's width and height) followed by the image data, in a form specific to the driver used. A 16-colour VGA image will contain four monochrome bitmaps for the four planes. These images, with a .ICN extension, are used as icons by [[RIPscrip Icon|RIPscrip 1.x]] and Counterpoint. | ||
+ | |||
+ | == Specifications == | ||
+ | * [http://www.verycomputer.com/12_66eccb758dc9a4f8_1.htm Turbo Pascal GetImage/PutImage format--a summary] - a message with reverse-engineered information about one BGI image format | ||
== Sample files == | == Sample files == |
Latest revision as of 15:19, 24 March 2016
The Borland Graphics Interface (BGI) library contains getimage()
and putimage()
functions to save and load images. The images thus saved have a 4-byte header (two little-endian words giving the image's width and height) followed by the image data, in a form specific to the driver used. A 16-colour VGA image will contain four monochrome bitmaps for the four planes. These images, with a .ICN extension, are used as icons by RIPscrip 1.x and Counterpoint.
[edit] Specifications
- Turbo Pascal GetImage/PutImage format--a summary - a message with reverse-engineered information about one BGI image format
[edit] Sample files
- http://cd.textfiles.com/qasports/MINIGOLF/ → HOLE*.BGI
See also RIPscrip Icon#Sample files.