From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30670: 26.0.91; PNG files on Windows Date: Fri, 02 Mar 2018 16:05:52 +0200 Message-ID: <83efl2wp1b.fsf@gnu.org> References: <4qtvtz7g6x.fsf@gmail.com> <83y3jbwq5q.fsf@gnu.org> <83o9k6x2vi.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1520000113 3110 195.159.176.226 (2 Mar 2018 14:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2018 14:15:13 +0000 (UTC) Cc: 30670@debbugs.gnu.org To: Alex =?UTF-8?Q?Schr=C3=B6der?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 02 15:15:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erlSk-0008S0-9R for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Mar 2018 15:15:06 +0100 Original-Received: from localhost ([::1]:35301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erlUm-0002FP-54 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Mar 2018 09:17:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erlK0-0001jy-CA for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 09:06:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erlJy-0007G8-9b for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 09:06:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erlJy-0007G1-5Q for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 09:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erlJx-0001GL-RX for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 09:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Mar 2018 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30670-submit@debbugs.gnu.org id=B30670.15199995534837 (code B ref 30670); Fri, 02 Mar 2018 14:06:01 +0000 Original-Received: (at 30670) by debbugs.gnu.org; 2 Mar 2018 14:05:53 +0000 Original-Received: from localhost ([127.0.0.1]:40300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erlJp-0001Fv-GO for submit@debbugs.gnu.org; Fri, 02 Mar 2018 09:05:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erlJn-0001Ff-Pa for 30670@debbugs.gnu.org; Fri, 02 Mar 2018 09:05:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erlJd-00071X-M1 for 30670@debbugs.gnu.org; Fri, 02 Mar 2018 09:05:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erlJd-00071K-J3; Fri, 02 Mar 2018 09:05:41 -0500 Original-Received: from [176.228.60.248] (port=2506 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1erlJb-0000sC-RZ; Fri, 02 Mar 2018 09:05:40 -0500 In-reply-to: (message from Alex =?UTF-8?Q?Schr=C3=B6der?= on Fri, 2 Mar 2018 09:45:53 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143837 Archived-At: > From: Alex Schröder > Date: Fri, 2 Mar 2018 09:45:53 +0000 > Cc: 30670@debbugs.gnu.org > > How do you invoke Emacs from that installation? > > From a shortcut in my startmenu. > > Target: "C:\Portable Programs\emacs-26.0.91-x86_64\bin\runemacs.exe" > Start in: %HOMEPATH% > > %HOMEPATH% is set to \Users\asc > > Are there any other versions of libpng16-16.dll on that system? > > I ran the following: > $ find.exe / -name libpng16-16.dll > /cygdrive/c/Portable Programs/emacs-26.0.91-x86_64/bin/libpng16-16.dll > /cygdrive/c/Portable Programs/inkscape/libpng16-16.dll > /cygdrive/c/Program Files/emacs-25.1-x86_64-w64-mingw32/bin/libpng16-16.dll > > I found the old C:\Program Files\emacs-25.1-x86_64-w64-mingw32\bin on my path, removed it and restarted > Emacs, verified that it was not listed in (getenv "PATH"), but no luck. I still cannot display PNG images. > > Does pngfix.exe work (it should be in the same directory as > libpng16-16.dll)? > > Yes it does. > > $ ./pngfix ../lib/python2.7/idlelib/Icons/idle_16.png > IDAT OK maximum 12 12 1070 2064 ../lib/python2.7/idlelib/Icons/idle_16.png > > And finally, what is the value of libpng-version in your Emacs? > > libpng-version > 10634 Strange. I can only suggest stepping with a debugger through init_png_functions, to see what exactly fails there and why.