PDA

View Full Version : 16 bits per pixel grey scale.



KraftDinner
12-18-2009, 10:25 PM
How can OpenGL help me to scale a 16 BPP image into a 8 BPP image? (Grey scale images)

Image8bpp = fn(Image16bpp, low, high)
//Values below low are 0.
//Values above high are 255.
//Everything else is scaled between.

I need to update this image in real time...