BSAVE Image

From Just Solve the File Format Problem
Revision as of 11:52, 22 August 2024 by MihaiPopa7 (Talk | contribs)

Jump to: navigation, search
File Format
Name BSAVE Image
Ontology
Extension(s) .pic, .scn, .bsv, .cgx, others

BSAVE Image (or BSAVED Image, BSAVE graphics, BSV, BLOAD format, etc.) is a loosely-defined family of raster and character-based graphics file formats, based on the behavior of the BSAVE and BLOAD commands in QuickBASIC and certain other implementations of the BASIC programming language. This article is mainly about the formats used by DOS/PC software.

The file consists of a header, followed by a raw dump of video memory (or something approximating that). The Wikipedia article seems to be the best source of information about it.

BSAVE Image files are not very portable. There are many varieties of them, and no reliable way to distinguish all of them.

Contents

Format details

BSAVE Image files (of the PC variety) begin with the byte 0xFD. They may have a 7-byte header, or an 11-byte header that includes the width (measured in bits, not pixels) and height.

After the image data, there might or might not be a 0x1A (Ctrl+Z) byte, and/or extra data or padding.

Platform-specific images

Since BSAVE images are raw dumps of graphic data in memory, they are platform-specific and depend in format on how the graphics are stored (and on what header bytes are attached to binary files) on the particular platform on which they were created. Some of the platform-specific graphics are documented here:

Identification

A BSAVE file starts with the byte 0xfd.

One issue to be aware of is that both BSAVE and compressed MegaPaint BLD can start with 0xfd, and can use the .bld extension.

(TODO: Discuss heuristics that can help to identify BSAVE files.)

See also

Software

  • Deark
  • [%68%74%74%70%73://archive.org/download/pain_cave_bbs_compilation/pain_cave_bbs.zip/pain_cave_bbs%2FBbsback%2F8%2FCNDRAW1.ZIP CriNic's BASIC DRAW (a paint program that saves to BSAVE format)]
This link needs to be converted to a valid HTTP or HTTPS link by a admin. For example: %68%74%74%70%73://archive.org/download/pain_cave_bbs_compilation/pain_cave_bbs.zip/pain_cave_bbs%2FBbsback%2F8%2FCNDRAW1.ZIPhttps://archive.org/download/pain_cave_bbs_compilation/pain_cave_bbs.zip/pain_cave_bbs%2FBbsback%2F8%2FCNDRAW1.ZIP. Remove this when done!

(This section needs expansion. There are many DOS programs that support BSAVE in some way.)

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox