Spectrum 512 formats

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Replaced dead link)
Line 10: Line 10:
 
There are three main file formats:
 
There are three main file formats:
 
* Spectrum 512 Uncompressed (.spu)
 
* Spectrum 512 Uncompressed (.spu)
* Spectrum 512 Compressed (.spc)
+
* Spectrum 512 Compressed (.spc; signature="<code>SP</code>")
* Spectrum 512 Smooshed (.sps)
+
* Spectrum 512 Smooshed (.sps; signature="<code>SP</code>")
  
 
The image dimensions are always 320×199 pixels, though some decoders interpret them as being 320×200, with an all-black top row.
 
The image dimensions are always 320×199 pixels, though some decoders interpret them as being 320×200, with an all-black top row.
Line 18: Line 18:
  
 
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.
 
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.
 +
 +
== Related formats ==
 +
Related formats described in other articles:
 +
* [[Spectrum 512 Anispec]] (.sps; signature="<code>SS</code>")
 +
* [[Spectrum 512 Extended]] (.spx; signature="<code>SPX</code>")
  
 
== Software ==
 
== Software ==
Line 26: Line 31:
 
== Sample files ==
 
== Sample files ==
 
* http://samples.libav.org/image-samples/atarist/spectrum512/
 
* http://samples.libav.org/image-samples/atarist/spectrum512/
 +
* http://cd.textfiles.com/geminiatari/FILES/GRAPHICS/SPECPICS/
  
 
== Resources ==
 
== Resources ==
 
* [http://www.atari-wiki.com/?title=ST_Picture_Formats ST Picture Formats]
 
* [http://www.atari-wiki.com/?title=ST_Picture_Formats 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 00:39, 12 March 2015

File Format
Name Spectrum 512 formats
Ontology
Extension(s) .spu, .spc, .sps

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; signature="SP")
  • Spectrum 512 Smooshed (.sps; signature="SP")

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.

Related formats

Related formats described in other articles:

Software

Sample files

Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox