Acorn Sprite

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Specifications: Updated broken link)
 
(9 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|acorn}}, others
+
|extensions={{noext}}, {{ext|acorn}}
 
}}
 
}}
 
'''Acorn Sprite''' (also known as '''RISC OS Sprite''') files are the native format for graphics on RISC OS systems. Traditionally, sprites were used to store all kinds of images. Since they support colour depths up to 32 bits per pixel it is possible to use this format to record photorealistic images (for example, from digital cameras) in this format, but improved support for compressed image formats ([[JPEG]], [[PNG]]) in RISC OS means that sprites are typically used to hold images for application icons and screen dumps.
 
'''Acorn Sprite''' (also known as '''RISC OS Sprite''') files are the native format for graphics on RISC OS systems. Traditionally, sprites were used to store all kinds of images. Since they support colour depths up to 32 bits per pixel it is possible to use this format to record photorealistic images (for example, from digital cameras) in this format, but improved support for compressed image formats ([[JPEG]], [[PNG]]) in RISC OS means that sprites are typically used to hold images for application icons and screen dumps.
  
== Format ==
+
== Format details ==
 
A Sprite file consists of a 12-byte header, possibly followed by some extension data, followed by a sequence of images. Each image object begins with a 4-byte integer indicating its size.
 
A Sprite file consists of a 12-byte header, possibly followed by some extension data, followed by a sequence of images. Each image object begins with a 4-byte integer indicating its size.
  
Line 16: Line 16:
  
 
== Identifiers ==
 
== Identifiers ==
On RISC OS, Sprite files have a file type of <code>ff9</code> (Sprite).
+
On RISC OS, Sprite files have a [[RISC OS filetype|file type]] of <code>ff9</code> (Sprite).
  
 
On other platforms, at least some applications use the filename extension '''.acorn''', though it does not appear to be very common.
 
On other platforms, at least some applications use the filename extension '''.acorn''', though it does not appear to be very common.
 +
 +
== Specifications ==
 +
* [https://www.riscosopen.org/wiki/documentation/show/Format%20Of%20Sprite Format Of Sprite]
 +
* [https://www.4corn.co.uk/articles/websites/www95/acorn/library/ref/sprite.html Sprite file format]
 +
* [https://www.geraldholdsworth.co.uk/index.php?document=RISC_OS_Sprite_formats RISC OS Sprite Formats compiled by Gerald J Holdsworth]
 +
* [http://www.wss.co.uk/pinknoise/Docs/index.html Documentation on Acorn Computers] → [http://www.wss.co.uk/pinknoise/Docs/Arc/Sprites/32bit.html 16/32 bit sprite format]
 +
* [https://www.riscosopen.org/wiki/documentation/show/Screen%20Modes Screen Modes]
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [http://www.boddie.org.uk/david/Projects/Python/Spritefile/ Spritefile] - a Python module for reading and writing Sprite files
 
* [http://www.boddie.org.uk/david/Projects/Python/Spritefile/ Spritefile] - a Python module for reading and writing Sprite files
 
* [http://www.netsurf-browser.org/projects/librosprite/ LibROSprite]
 
* [http://www.netsurf-browser.org/projects/librosprite/ LibROSprite]
* [[XnView]] (format named "ACORN")
+
* [[XnView]] (may require .acorn file extension)
 +
* {{Deark}}
 +
* [https://armclub.org.uk/free/ SPRtools]
  
 
== Sample files ==
 
== Sample files ==
 
* [http://www.dave-edwards.com/riscos/icons/ RISC OS Icons]
 
* [http://www.dave-edwards.com/riscos/icons/ RISC OS Icons]
* [http://arcade.demon.co.uk/filepages/file77.htm Arcade BBS: Sprite Picture files] (These files may use [[ARC (compression format)|ARC]], [[ZIP]], or other archive formats.)
+
* [http://www.arcade-bbs.net/filepages/file77.htm Arcade BBS: Sprite Picture files] (These files may use [[Spark]], [[ZIP]], or other archive formats.)
 
* APDL DTP [https://archive.org/details/cdrom-riscos-apdl-dtp1 CD1], [https://archive.org/details/cdrom-riscos-apdl-dtp2 CD2], [https://archive.org/details/cdrom-riscos-apdl-dtp3 CD3]
 
* APDL DTP [https://archive.org/details/cdrom-riscos-apdl-dtp1 CD1], [https://archive.org/details/cdrom-riscos-apdl-dtp2 CD2], [https://archive.org/details/cdrom-riscos-apdl-dtp3 CD3]
 
* [https://archive.org/details/cdrom-riscos-clipart ArtWorks ClipArt CD1]
 
* [https://archive.org/details/cdrom-riscos-clipart ArtWorks ClipArt CD1]
 
+
* {{DexvertSamples|image/acornSprite}}
== Links ==
+
* [http://www.wss.co.uk/pinknoise/Docs/index.html Documentation on Acorn Computers]
+
  
 
[[Category:RISC OS]]
 
[[Category:RISC OS]]

Latest revision as of 14:28, 18 December 2024

File Format
Name Acorn Sprite
Ontology
Extension(s) (none), .acorn

Acorn Sprite (also known as RISC OS Sprite) files are the native format for graphics on RISC OS systems. Traditionally, sprites were used to store all kinds of images. Since they support colour depths up to 32 bits per pixel it is possible to use this format to record photorealistic images (for example, from digital cameras) in this format, but improved support for compressed image formats (JPEG, PNG) in RISC OS means that sprites are typically used to hold images for application icons and screen dumps.

Contents

[edit] Format details

A Sprite file consists of a 12-byte header, possibly followed by some extension data, followed by a sequence of images. Each image object begins with a 4-byte integer indicating its size.

The 4-byte integer at offset 0 is the number of images in the file.

The 4-byte integer at offset 4 is the offset of the first image, plus 4. It is usually 16, meaning 12.

The 4-byte integer at offset 8 is the file size, plus 4.

[edit] Identifiers

On RISC OS, Sprite files have a file type of ff9 (Sprite).

On other platforms, at least some applications use the filename extension .acorn, though it does not appear to be very common.

[edit] Specifications

[edit] Software

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox