summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FORMAT23
-rw-r--r--farbfeld.56
2 files changed, 14 insertions, 15 deletions
diff --git a/FORMAT b/FORMAT
index 89d575e..5966df8 100644
--- a/FORMAT
+++ b/FORMAT
@@ -1,15 +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 |
- | | pixels in rows, not alpha-premultiplied |
- +--------+----------------------------------------------+
+ +--------+-----------------------------------------------------------+
+ | 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 |
+ +--------+-----------------------------------------------------------+
diff --git a/farbfeld.5 b/farbfeld.5
index 4f05dc7..8201f25 100644
--- a/farbfeld.5
+++ b/farbfeld.5
@@ -15,10 +15,10 @@ 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
- pixels in rows, not alpha-premultiplied
+[2222] 4*16-Bit BE unsigned integers [RGBA] / pixel, row-aligned
.Ed
-The RGB-data should be in sRGB.
+The RGB-data should be sRGB for best interoperability and not
+alpha-premultiplied.
.Sh USAGE
.Nm
provides