libwebp/imageio
Pascal Massimino 78318b30e5 PNG decoder: handle gAMA chunk
Apply gamma correction to the decoded RGB values.

This handles corner cases where the PNG file doesn't have
a standard 1/2.2 gamma value.

BUG=webp:369

Change-Id: I9907b6e2c458002de7c26d0b9e416278cca33990
2018-01-05 10:56:52 -08:00
..
Android.mk imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_dec.c Add limited PAM decoding support 2017-03-03 11:19:48 +01:00
image_dec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_enc.c cosmetics: normalize fn proto & decl param names 2017-08-26 14:17:31 -07:00
image_enc.h libimageenc.a: extract image-saving code from dwebp 2016-09-08 19:11:26 -07:00
imageio_util.c webpmux: allow reading argument from a file 2017-12-01 01:42:22 -08:00
imageio_util.h webpmux: allow reading argument from a file 2017-12-01 01:42:22 -08:00
jpegdec.c jpegdec,ReadError: fix leaks on error 2017-08-08 07:02:00 -07:00
jpegdec.h pngdec.c,jpegdec.[hc]: remove unnecessary includes 2016-07-20 12:12:14 -07:00
Makefile.am rationalize the Makefile.am 2017-08-29 00:00:14 -07:00
metadata.c move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
metadata.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pngdec.c PNG decoder: handle gAMA chunk 2018-01-05 10:56:52 -08:00
pngdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pnmdec.c pnmdec,PAM: validate depth before calculating bytes_per_px 2017-08-19 13:56:06 -07:00
pnmdec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
tiffdec.c tiffdec,ReadTIFF: ensure data_size is < tsize_t max 2017-05-17 13:02:06 -07:00
tiffdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
webpdec.c webpdec: correct alloc size check w/use_argb 2017-10-26 23:17:11 -07:00
webpdec.h webpdec.h: fix a doc typo 2017-03-05 09:38:51 +00:00
wicdec.c imageio/*dec,Read*: add input parameter checks 2016-10-12 20:49:30 -07:00
wicdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00