diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-06-01 11:46:22 -0400 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-06-01 11:46:22 -0400 |
commit | 5d3758e57994a350e780ed8279e256b2c570d0d6 (patch) | |
tree | d2fc2f9487ec3d72f74181b255384cacd000b9ae /transform.c | |
parent | 71945b7425a97d610992a14863b13208c1c671f1 (diff) |
Add reference to the rationale for not correcting alpha
Diffstat (limited to 'transform.c')
-rw-r--r-- | transform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/transform.c b/transform.c index 5fa5015..784cd28 100644 --- a/transform.c +++ b/transform.c @@ -655,6 +655,12 @@ static void qcms_transform_data_gray_out_lut(qcms_transform *transform, unsigned } } +/* Alpha is not corrected. + A rationale for this is found in Alvy Ray's "Should Alpha Be Nonlinear If + RGB Is?" Tech Memo 17 (December 14, 1998). + See: ftp://ftp.alvyray.com/Acrobat/17_Nonln.pdf +*/ + static void qcms_transform_data_graya_out_lut(qcms_transform *transform, unsigned char *src, unsigned char *dest, size_t length) { int i; |