Spectrum 512 formats
From Just Solve the File Format Problem
(Difference between revisions)
(Updated link) |
(subcat2=Atari graphics formats) |
||
Line 2: | Line 2: | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Graphics | |subcat=Graphics | ||
− | |extensions={{ext|spu}} {{ext|spc}} | + | |subcat2=Atari graphics formats |
+ | |extensions={{ext|spu}}, {{ext|spc}}, {{ext|sps}} | ||
}} | }} | ||
The '''Spectrum 512 formats''' are a group of raster image file formats associated with the ''Spectrum 512'' paint program for Atari ST. | The '''Spectrum 512 formats''' are a group of raster image file formats associated with the ''Spectrum 512'' paint program for Atari ST. | ||
Line 29: | Line 30: | ||
* [http://www.mediatel.lu/workshop/graphic/2D_fileformat/h_atari.html Atari ST Picture Formats] | * [http://www.mediatel.lu/workshop/graphic/2D_fileformat/h_atari.html Atari ST Picture Formats] | ||
* [http://wiki.multimedia.cx/index.php?title=Spectrum_512 MultimediaWiki article] | * [http://wiki.multimedia.cx/index.php?title=Spectrum_512 MultimediaWiki article] | ||
− | |||
− |
Revision as of 14:54, 7 December 2014
The Spectrum 512 formats are a group of raster image file formats associated with the Spectrum 512 paint program for Atari ST.
Contents |
Format
There are three main file formats:
- Spectrum 512 Uncompressed (.spu)
- Spectrum 512 Compressed (.spc)
- Spectrum 512 Smooshed (.sps)
The image dimensions are always 320×199 pixels, though some decoders interpret them as being 320×200, with an all-black top row.
There are 4 bits of image data per pixel, which are interpreted using a complicated system of color palettes.
For uncompressed (.spu) files, the first 160 bytes of the file should be set to zero. Following that are 31840 bytes of image data (160 for each row). Following that are 19104 bytes of palette data. The total file size is 51104 bytes.