CompuServe Messages

#Gamma values !?

    20-Jan-94 06:13:00
Sb: #Gamma values !?
Fm: Martin Enthed 100277,1272
To: Yost Group 76702,413
I want to make a picture that is built out of 1×1 pixel black and white checker, and put out several halfway gray (128,128,128) boxes on it. These boxes should be gamma corrected individually. They gammas should be from 0.8 to 2.5, with a step of 0.1. This picture I will use to calibrate what gamma settings to use for different paper and slide output. If you, or someone else, could give me the gamma correction algoritm (preferably i C-code), or just give me the right gammacorrected gray value for(0.8,0.9,1.0, ….,2.4,2.5), it would really help. -M.E