bgi

.bgiBitmap Graphics Image

MS-DOS (various) · 1988

Developer
MS-DOS (various)
Category
Images
MIME Type
image/x-bgi
First Released
1988
Open Format
No
File Signature
Not consistently defined across all BGI variations, often application-specific or absent.
At a Glance
.bgi
Bitmap Graphics Image

A legacy image format from the MS-DOS era, often associated with Borland graphics.

Reviewed on August 6, 2026
Compression
Varies (often uncompressed or simple RLE)
Transparency
No
Editability
Low
Best for
Legacy MS-DOS graphics

Key Features

  • Proprietary format from the MS-DOS era.
  • Primarily used with Borland software.
  • Stores bitmap data and color palettes.
  • Limited support outside of legacy environments.

Best For

  • Applications requiring graphics for MS-DOS environments.
  • Developers working with legacy Borland software.
  • Archiving graphics from older DOS-based games.

Less Ideal For

  • Modern web development.
  • High-quality digital photography.
  • Sharing images on contemporary platforms.
  • Applications requiring transparency or alpha channels.

Common Use Cases

  • Storing graphics for Turbo Pascal applications.
  • Displaying icons and splash screens in older DOS programs.
  • Saving graphics from early graphics engines.
  • Utilizing graphics within Borland's graphical interface libraries.

How to Open It

  1. Use specialized image viewers or converters designed for legacy formats.
  2. Load the image within the original Borland application or an emulator (like DOSBox).
  3. Convert the BGI file to a more common format using tools like XnView MP or online converters.

What is a .bgi file?

BGI (Bitmap Graphics Image) is a proprietary image file format primarily used in the MS-DOS era, most notably with Borland software like Turbo Pascal and Borland Graphics Interface (BGI). It was designed to store graphics data for applications running in limited graphical environments. These files often contain simple bitmaps, sometimes with palette information, and were commonly used for icons, splash screens, or basic graphical elements in games and utilities. Due to its age and proprietary nature, BGI is rarely encountered outside of legacy software or emulation.

Programs That Open .bgi Files

PlatformProgram
WindowsXnView MPFree
IrfranViewFree
macOSXnView MPFree
LinuxXnView MPFree

How to Convert .bgi Files

FormatMethod
.PNGXnView MP, IrfanView, Online Converters
.JPGXnView MP, IrfanView, Online Converters
.BMPXnView MP, IrfanView, Online Converters

Common Problems with .bgi Files

⚠️ Cannot open BGI files on modern operating systems.
Use specialized software like XnView MP or IrfanView, or an MS-DOS emulator such as DOSBox.
⚠️ Limited color depth and resolution compared to modern image formats.
This is a limitation of the format; conversion to a modern format will retain the original data but not enhance it.

Frequently Asked Questions

What is the BGI file format used for?

BGI files were primarily used to store graphics for applications developed with Borland software, especially for MS-DOS environments.

Can I open BGI files on Windows or macOS?

Yes, but you typically need specialized image viewers or converters like XnView MP, IrfanView, or run them within an emulator.

Is BGI a common image format today?

No, BGI is a legacy format and is rarely encountered or used in modern computing.

Technical Details

BGI files are typically binary and store pixel data along with color palette information. They are not compressed in a standard way and can vary in structure depending on the specific Borland application or BGI driver used. Early versions might have used simple run-length encoding for certain color runs.

Did You Know?

The .bgi extension is often tied to Borland's graphics libraries, not a universal standard.
Many graphical games on MS-DOS used formats similar to or derived from BGI for their assets.

Security Information

BGI files themselves are generally safe as they are simple image data. However, as with any file downloaded from the internet, exercise caution and ensure the source is trusted. Be wary of executable files masquerading as BGI files.

Related Extensions