| Move alpha-premultiplication information away from the FORMAT - farbfeld - suck… | |
| git clone git://git.suckless.org/farbfeld | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 7b03f52a130a12355d87bc05f028db31963112cc | |
| parent dd22f4087d5e7420929575d1bbaf767d76395e9c | |
| Author: FRIGN <[email protected]> | |
| Date: Sun, 31 Jan 2016 00:08:17 +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. | |
| Diffstat: | |
| M FORMAT | 23 +++++++++++------------ | |
| M farbfeld.5 | 6 +++--- | |
| 2 files changed, 14 insertions(+), 15 deletions(-) | |
| --- | |
| diff --git 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 | |
| @@ -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 |