mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Updated contrib/sRGBtables code
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
ae41dc55a2
commit
76b0459fdd
@@ -4,9 +4,10 @@
|
||||
* Utility file; not actually a header, this contains definitions of sRGB
|
||||
* calculation functions for inclusion in those test programs that need them.
|
||||
*
|
||||
* All routines take and return a floating point value in the range 0 to 1.0,
|
||||
* doing a calculation according to the sRGB specification. (In fact the source
|
||||
* of the numbers is the wikipedia article.)
|
||||
* All routines take and return a floating point value in the range
|
||||
* 0 to 1.0, doing a calculation according to the sRGB specification
|
||||
* (in fact the source of the numbers is the wikipedia article at
|
||||
* http://en.wikipedia.org/wiki/SRGB).
|
||||
*/
|
||||
static double
|
||||
sRGB_from_linear(double l)
|
||||
|
||||
Reference in New Issue
Block a user