Advertisement

need source code to get rgb of a pixel

Started by September 10, 2004 12:30 AM
1 comment, last by Ayato Kamina 20 years, 2 months ago
Hi, I need help in getting a code to get the RGB values of a pixel. I need to convert a colored image to black and white. I already have the formula for conversion, but I can't get the RGB values of a pixel. I tried looking at MSDN's method, but they don't make sense. Maybe someone can help me please? THanks.
http://developer.3dlabs.com/GLmanpages/glreadpixels.htm
Advertisement
thanks for the reply vampyre!! ^_^

This topic is closed to new replies.

Advertisement