From e9feca5c2bda05b9a356617868fd4b08ec903d0d Mon Sep 17 00:00:00 2001 From: FRIGN Date: Wed, 20 Jan 2016 22:31:25 +0100 Subject: Use linear RGB Makes things a lot easier for image manipulation algorithms which can be expected to be applied to farbfeld data. --- FORMAT | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'FORMAT') 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 | + +--------+-----------------------------------------------+ -- cgit v1.2.3