]> git.eshelyaron.com Git - emacs.git/commit
Fix misdisplay of PNG paletted images
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Aug 2019 17:01:46 +0000 (10:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Aug 2019 18:11:28 +0000 (11:11 -0700)
commit8826beaf00660eaaeff28016e022af1d9bf40b7c
tree4e968a294c480a9d549bb0f9fca58a80ea6f04ef
parentae7ab3b6ee5237b202d6104aadc2b3f3742f2bf7
Fix misdisplay of PNG paletted images

Problem reported by Roland Winkler (Bug#37153).
Derived from a patch suggested by YAMAMOTO Mitsuharu (Bug#37153#62).
* src/image.c (png_get_valid) [WINDOWSNT]:
Do not dynamically link this function.
(png_get_tRNS) [WINDOWSNT && PNG_tRNS_SUPPORTED]:
Dynamically link this function instead.
(png_load_body): Do not assume that every paletted image supplies
only transparency data.  Fix typo in use of transparent_p.
src/image.c