Skip to content

rsarendus/rawtex-specification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

[DRAFT] RAWTEX Specification

A binary format for storing image data flexibly with minimal load-time overhead.

The format comes in two flavors: big-endian and little-endian. This enables the serialization of image data in an optimal format for different platforms. However, implementations are encouraged to be able to handle non-native endianness and/or support conversion to/from desired endianness, unless doing so would be unreasonable or impractical.

[DRAFT] RAWTEX Header

Offset Octets Type Description
0 6 ascii string Either of the two format indicators:
  • RAWTEX (52h 41h 57h 54h 45h 58h)
  • rawtex (72h 61h 77h 74h 65h 78h)
6 1 uint8 Major version number
7 1 uint8 Minor version number
  • RAWTEX - big-endian (BE) flavor of the format
  • rawtex - little-endian (LE) flavor of the format

[DRAFT] RAWTEX Body

[DRAFT] Version 1

About

A specification of a binary format for images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published