DeskPic
From Just Solve the File Format Problem
(Difference between revisions)
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
(Undo revision 46738 by Dexvertbot (talk)) |
||
| Line 21: | Line 21: | ||
4 bytes height of the screen | 4 bytes height of the screen | ||
4 bytes size of the buffer to be allocated for the screen | 4 bytes size of the buffer to be allocated for the screen | ||
| − | n bytes of graphic data, where n = ((image width | + | n bytes of graphic data, where n = ((image width + 7) / 8) * image height * planes, |
which corresponds to the largest allocated buffer. | which corresponds to the largest allocated buffer. | ||
768 bytes color table => max. 256 colors. | 768 bytes color table => max. 256 colors. | ||
| Line 30: | Line 30: | ||
== Sample files == | == Sample files == | ||
| − | * | + | * https://telparia.com/fileFormatSamples/image/gfb/ |
== Links == | == Links == | ||
* [http://www.atariuptodate.de/en/8058/khgkjhjk.php DeskPic v1.05] | * [http://www.atariuptodate.de/en/8058/khgkjhjk.php DeskPic v1.05] | ||
* [https://www.atari-forum.com/index.php/DeskPic_file_format DeskPic_file_format] | * [https://www.atari-forum.com/index.php/DeskPic_file_format DeskPic_file_format] | ||
Revision as of 13:36, 8 August 2025
DeskPic is a graphics program for the Atari line of computers.
Contents |
Identification
.gfb files begin with ASCII "GF25".
Format
The GFB image format:
-------------------
It is a format that I use for the program GemFrac had once developed.
The following data can be found in this image format:
4 bytes identifier (GF25 in this version)
4 bytes number of colors.
4 bytes width of the screen
4 bytes height of the screen
4 bytes size of the buffer to be allocated for the screen
n bytes of graphic data, where n = ((image width + 7) / 8) * image height * planes,
which corresponds to the largest allocated buffer.
768 bytes color table => max. 256 colors.