diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-22 12:23:25 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-22 12:23:25 -0400 |
commit | 1208ac55766e410f7cac3ad9d6cf588e7846ca64 (patch) | |
tree | 3ab0da80e8724fc51c8294f90b34ab8afc3d528e /libdimension/color.c | |
parent | a7cd3703ea1ff4686d49888f014c746b56411fdf (diff) | |
download | dimension-1208ac55766e410f7cac3ad9d6cf588e7846ca64.tar.xz |
Take into account color intensity for filtered transparency in canvas export.
Diffstat (limited to 'libdimension/color.c')
-rw-r--r-- | libdimension/color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/color.c b/libdimension/color.c index 0b74adf..0af063f 100644 --- a/libdimension/color.c +++ b/libdimension/color.c @@ -326,8 +326,8 @@ dmnsn_Luv_from_color(dmnsn_color color, dmnsn_CIE_XYZ white) return ret; } -/** Greyscale color intensity. */ -static double +/* Greyscale color intensity */ +double dmnsn_color_intensity(dmnsn_color color) { dmnsn_sRGB sRGB = dmnsn_sRGB_from_color(color); |