Re: png image scrambled
"Roland Winkler" <winkler-mXXj517/[email protected]> Mon, 26 Aug 2019 20:18:24 -0500
| Newsgroups | gmane.comp.graphics.png.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat Aug 24 2019 Bob Friesenhahn wrote: > The overlay of a transparent image on a background is not a function > of libpng. This is something that GNU Emacs would need to do while > rendering the image for display. If GNU Emacs was displaying a web > page, then I would assume it should use the background color that the > web page indicates. Sure! -- GNU Emacs already comes with pretty much all of this infrastructure. It turns out the problem was that emacs did not handle properly the tRNS chunk data for paletted PNG images. In the meanwhile, some emacs maintainers that are more familiar with the emacs image code than myself have come up with a patch for this that has about twenty lines in order to do the right thing. Thanks again for pointing us in the right direction.