BGI image

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Split off from the Borland Graphics Interface article)
 
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.
 +
 +
== Sample files ==
 +
* http://cd.textfiles.com/qasports/MINIGOLF/ → HOLE*.BGI
 +
See also [[RIPscrip Icon#Sample files]].
  
 
[[Category:Borland]]
 
[[Category:Borland]]

Revision as of 15:13, 24 March 2016

File Format
Name BGI image
Ontology
Extension(s) .bgi, .icn, others
Released 1987

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.

Sample files

See also RIPscrip Icon#Sample files.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox