BSAVE Image
(→Links) |
Dan Tobias (Talk | contribs) |
||
Line 11: | Line 11: | ||
== Identification == | == Identification == | ||
− | BSAVE Image files begin with the byte <code>0xFD</code>. | + | BSAVE Image files (of the PC variety) begin with the byte <code>0xFD</code>. |
After the image data, there is usually a <code>0x1A</code> (Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it. | After the image data, there is usually a <code>0x1A</code> (Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it. | ||
+ | |||
+ | == 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: | ||
+ | |||
+ | * [[Apple II graphics formats]] | ||
+ | * [[Atari graphics formats]] | ||
== Sample files == | == Sample files == |
Revision as of 15:58, 1 March 2014
BSAVE Image (or BSAVED Image, BSAVE graphics, BSV, etc.) is a loosely-defined family of raster and character-based graphics file formats, based on the behavior of the BSAVE
command in QuickBASIC and certain other implementations of the BASIC programming language.
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 |
Identification
BSAVE Image files (of the PC variety) begin with the byte 0xFD
.
After the image data, there is usually a 0x1A
(Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it.
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:
Sample files
- Between Heaven and Hell Version II CD → 200/109, 300/230, 300/265, etc. (adult-oriented images)
Links
- Wikipedia: BSAVE (graphics image format)
- Micosoft Support: BSAVE/BLOAD File Format Explained for Basic
- QuickBasic BSAVE Format
- Pictor PC Paint File Format Summary from the Encyclopedia of Graphics File Formats - Has information about the BSAVE format used by PC Paint