GrAPiC
Graphics for Algo/Prog in C/C++

◆ image_get()

unsigned char grapic::image_get ( const Image &  im,
int  x,
int  y,
int  c = 0 
)
inline

return the color component c of the pixel (x,y) of the image im. c must be 0 for the red component, 1 for the green component, 2 for the blue component or 3 for the alpha/opacity component.