summaryrefslogtreecommitdiff
path: root/FORMAT
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2016-01-20 22:31:25 +0100
committerFRIGN <dev@frign.de>2016-01-20 22:31:25 +0100
commite9feca5c2bda05b9a356617868fd4b08ec903d0d (patch)
treec2365c79339e2b020fbd1ecb61ae60c85ae38cdb /FORMAT
parent291e677210c6c2c1d1eba2f0ba2243806ef63b07 (diff)
Use linear RGB
Makes things a lot easier for image manipulation algorithms which can be expected to be applied to farbfeld data.
Diffstat (limited to 'FORMAT')
-rw-r--r--FORMAT27
1 files changed, 15 insertions, 12 deletions
diff --git a/FORMAT b/FORMAT
index 6821ab2..c033efb 100644
--- a/FORMAT
+++ b/FORMAT
@@ -1,15 +1,18 @@
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, ProPhoto RGB, 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 |
+ | | - pixels in rows |
+ | | - linear ROMM RGB (ISO 22028-2:2013) |
+ | | (= linear ProPhoto RGB = Melissa RGB) |
+ | | - no alpha premultiplication |
+ +--------+-----------------------------------------------+