GNU bug report logs - #37153
26.1; some png images scrambled on Windows

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Fri, 23 Aug 2019 04:50:02 UTC

Severity: normal

Found in version 26.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 37153 <at> debbugs.gnu.org, winkler <at> gnu.org, mituharu <at> math.s.chiba-u.ac.jp
Subject: bug#37153: 26.1; some png images scrambled
Date: Sun, 25 Aug 2019 21:56:26 +0300
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 25 Aug 2019 11:38:07 -0700
> Cc: 37153 <at> debbugs.gnu.org
> 
> > It seems to be necessary to look into the tRNS chunk data for paletted
> > images.  Again, W32 would need some more work.
> 
> Thanks, I confirmed that this fixes the misdisplay for me as well. I attempted 
> to port it to w32 (as well as to unusual libpng builds that do not define 
> PNG_tRNS_SUPPORTED) and installed the attached into master.

Thanks, this builds on MS-Windows, but the display of that PNG image
is still incorrect.

My guess is that some changes are needed in
image_create_x_image_and_pixmap_1, where there's a separate
implementation for HAVE_NTGUI.  But I have no idea what changes are
needed there.




This bug report was last modified 3 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.