Manipulate Luminance

Name

gcpGetLuminance : 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.