Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suppose a very stupid thumbnail generator could be attacked with something like this. Proper tools for downscaling images already take this (and also gamma correction) into account.

See http://www.ericbrasseur.org/gamma.html



It's one thing to take non-linearity into account. But you also need to take into account the embedded colorspace information of your source image, if it has one. It's not necessarily sRGB.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: