Use the "row-major" term instead of "row-aligned" - farbfeld - suckless image format with conversion tools
(HTM) git clone git://git.suckless.org/farbfeld
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cb90a3d930f63c1d5f9aca8c6b680735711303cf
(DIR) parent de61085a0413f2f7570a89df345eb875d1a0298c
(HTM) Author: FRIGN <dev@frign.de>
Date: Mon, 22 Feb 2016 17:37:56 +0100
Use the "row-major" term instead of "row-aligned"
Diffstat:
M FORMAT | 22 +++++++++++-----------
M farbfeld.5 | 2 +-
2 files changed, 12 insertions(+), 12 deletions(-)
---
(DIR) diff --git a/FORMAT b/FORMAT
@@ -1,14 +1,14 @@
FARBFELD IMAGE FORMAT SPECIFICATION
- +--------+-----------------------------------------------------------+
- | Bytes | Description |
- +--------+-----------------------------------------------------------+
- | 8 | "farbfeld" magic value |
- +--------+-----------------------------------------------------------+
- | 4 | 32-Bit BE unsigned integer (width) |
- +--------+-----------------------------------------------------------+
- | 4 | 32-Bit BE unsigned integer (height) |
- +--------+-----------------------------------------------------------+
- | [2222] | 4*16-Bit BE unsigned integers [RGBA] / pixel, row-aligned |
- +--------+-----------------------------------------------------------+
+ +--------+---------------------------------------------------------+
+ | Bytes | Description |
+ +--------+---------------------------------------------------------+
+ | 8 | "farbfeld" magic value |
+ +--------+---------------------------------------------------------+
+ | 4 | 32-Bit BE unsigned integer (width) |
+ +--------+---------------------------------------------------------+
+ | 4 | 32-Bit BE unsigned integer (height) |
+ +--------+---------------------------------------------------------+
+ | [2222] | 4*16-Bit BE unsigned integers [RGBA] / pixel, row-major |
+ +--------+---------------------------------------------------------+
(DIR) diff --git a/farbfeld.5 b/farbfeld.5
@@ -15,7 +15,7 @@ BYTES DESCRIPTION
8 "farbfeld" magic value
4 32-Bit BE unsigned integer (width)
4 32-Bit BE unsigned integer (height)
-[2222] 4*16-Bit BE unsigned integers [RGBA] / pixel, row-aligned
+[2222] 4*16-Bit BE unsigned integers [RGBA] / pixel, row-major
.Ed
The RGB-data should be sRGB for best interoperability and not
alpha-premultiplied.