1 /* Copyright (C) 2001-2012 Artifex Software, Inc. 2 All Rights Reserved. 3 4 This software is provided AS-IS with no warranty, either express or 5 implied. 6 7 This software is distributed under license and may not be copied, 8 modified or distributed except as expressly authorized under the terms 9 of the license contained in the file LICENSE in this distribution. 10 11 Refer to licensing information at http://www.artifex.com or contact 12 Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, 13 CA 94903, U.S.A., +1(415)492-9861, for further information. 14 */ 15 16 17 /* Luminance computation parameters for Ghostscript */ 18 19 #ifndef gxlum_INCLUDED 20 # define gxlum_INCLUDED 21 22 /* Color weights used for computing luminance. */ 23 #define lum_red_weight 30 24 #define lum_green_weight 59 25 #define lum_blue_weight 11 26 #define lum_all_weights (lum_red_weight + lum_green_weight + lum_blue_weight) 27 28 #endif /* gxlum_INCLUDED */ 29