Use the "row-major" term instead of "row-aligned" - farbfeld - suckless image f… | |
git clone git://git.suckless.org/farbfeld | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit cb90a3d930f63c1d5f9aca8c6b680735711303cf | |
parent de61085a0413f2f7570a89df345eb875d1a0298c | |
Author: FRIGN <[email protected]> | |
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(-) | |
--- | |
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 | | |
+ +--------+---------------------------------------------------------+ | |
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. |