I know how specify what color I want to set to a pixle in Allegro, but I was woundering, is there a way to record what the color of specific pixle is?
I use the command:
color=makecol(red,green,blue);
to set the color for a comand like:
line(screen,x1,y1,x2,y2,color);
what I want it do is either detect what 'red', 'green', and 'blue' of a specific pixle or 'color' of the pixle
Thanks,
Campsoup1988
PS: if this is the wrong section for the question, I am sorry, and if you could move it to the correct section