Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adrianparvino/1b07fb4eacb6e1b30f541c8d4a4c3fa3 to your computer and use it in GitHub Desktop.
Save adrianparvino/1b07fb4eacb6e1b30f541c8d4a4c3fa3 to your computer and use it in GitHub Desktop.
╔════════╤═══════════════════════════════════════════════════════════════════════════════════════╗
║ Bytes │ Description ║
╠════════╪═══════════════════════════════════════════════════════════════════════════════════════╣
║ 8 │ "farbfeld" magic value ║
╟────────┼───────────────────────────────────────────────────────────────────────────────────────╢
║ 4 │ 32-Bit BE unsigned integer (width) ║
╟────────┼───────────────────────────────────────────────────────────────────────────────────────╢
║ 4 │ 32-Bit BE unsigned integer (height) ║
╟────────┼───────────────────────────────────────────────────────────────────────────────────────╢
║ [2222] │ 4⋅8-Bit BE unsigned integers [RGBA] / pixel, interleaved with UTF-32 bytes, row-major ║
╚════════╧═══════════════════════════════════════════════════════════════════════════════════════╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment