1 /* Copyright (C) 1992 Aladdin Enterprises. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15 */ 16 17 /* $Id: gxlum.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */ 18 /* Luminance computation parameters for Ghostscript */ 19 20 #ifndef gxlum_INCLUDED 21 # define gxlum_INCLUDED 22 23 /* Color weights used for computing luminance. */ 24 #define lum_red_weight 30 25 #define lum_green_weight 59 26 #define lum_blue_weight 11 27 #define lum_all_weights (lum_red_weight + lum_green_weight + lum_blue_weight) 28 29 #endif /* gxlum_INCLUDED */ 30