Bug 497363. qcms: Add reference to the rationale for not correcting alpha. r=joedrew

This commit is contained in:
Jeff Muizelaar 2009-06-12 14:38:32 -04:00
Родитель 341c2ba4c7
Коммит 99d30c3bf9
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -668,6 +668,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) static void qcms_transform_data_graya_out_lut(qcms_transform *transform, unsigned char *src, unsigned char *dest, size_t length)
{ {
int i; int i;