DeskPic
From Just Solve the File Format Problem
(Difference between revisions)
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
(→Sample files: Re-updated samples link) |
||
| (One intermediate revision by one user not shown) | |||
| 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. | ||
Latest revision as of 13:37, 8 August 2025
DeskPic is a graphics program for the Atari line of computers.
Contents |
[edit] Identification
.gfb files begin with ASCII "GF25".
[edit] 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.