gcpGetLuminance(3) Manipulate Luminance

SYNOPSIS


#include <ggi/gcp.h>
ggi_float gcpGetLuminance(ggi_visual_t vis, const gcp_pixel pix);

DESCRIPTION

gcpGetLuminance calculates the luminance of the pix pixel.

RETURN VALUE

gcpGetLuminance returns the luminance of the pixel.