diff options
author | FRIGN <dev@frign.de> | 2016-01-31 00:08:17 +0100 |
---|---|---|
committer | FRIGN <dev@frign.de> | 2016-01-31 00:08:44 +0100 |
commit | 7b03f52a130a12355d87bc05f028db31963112cc (patch) | |
tree | 213fc281dacf44118d9929cf30c8513971fd3e09 | |
parent | dd22f4087d5e7420929575d1bbaf767d76395e9c (diff) |
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.
-rw-r--r-- | FORMAT | 23 | ||||
-rw-r--r-- | farbfeld.5 | 6 |
2 files changed, 14 insertions, 15 deletions
@@ -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 | + +--------+-----------------------------------------------------------+ @@ -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 |