png: Add support for 16 bpc png reading as floating point format

Graphics / Cairo - Maarten Lankhorst [linux.intel.com] - 8 January 2019 03:14 EST

Similar to writing png, don't squash 16 bpc to 8 bpc and create a float surface to contain the image.

d061570a7 png: Add support for 16 bpc png reading as floating point format
src/cairo-png.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 60 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share