anthonynsimon / bild

Image processing algorithms in pure Go
MIT License
3.99k stars 213 forks source link

Readme code example should mention the importance of gamma correction. #70

Open Zyl9393 opened 5 years ago

Zyl9393 commented 5 years ago

Gamma correction is among the things most often done wrong by graphics programming novices. It's almost as bad as missing scene-related color transforms and linear volume sliders in the average video game. The code example in the readme should definitely mention to adjust.Gamma(img, 1/2.2) before doing any color mixing and adjust.Gamma(img, 2.2) before saving back to file (for as long as bild does not implicitly handle this, anyway) and link to some recommended reading.

dolmen commented 5 years ago

@zyl9393 Could you link to your own "recommended reading"?

Zyl9393 commented 5 years ago

@dolmen How about an edutainment video?