[hackers] [farbfeld] Move alpha-premultiplication information away from the FORMAT || FRIGN
commit 7b03f52a130a12355d87bc05f028db31963112cc
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Sun Jan 31 00:08:17 2016 +0100
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Sun Jan 31 00:08:44 2016 +0100
Move alpha-premultiplication information away from the FORMAT
and rather define it in the manual.
In the end, it doesn't influence the data structure and thus is not
part of the FORMAT-specification.
diff --git a/FORMAT b/FORMAT
index 89d575e..5966df8 100644
--- a/FORMAT
+++ b/FORMAT
_AT_@ -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
_AT_@ -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
Received on Sun Jan 31 2016 - 00:09:13 CET
This archive was generated by hypermail 2.3.0
: Sun Jan 31 2016 - 00:12:53 CET