unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Alex Schröder" <kensanata@gmail.com>
Cc: 30670@debbugs.gnu.org
Subject: bug#30670: 26.0.91; PNG files on Windows
Date: Fri, 02 Mar 2018 16:05:52 +0200	[thread overview]
Message-ID: <83efl2wp1b.fsf@gnu.org> (raw)
In-Reply-To: <CAORWZRdovLotZ4pfpUnO0WUy+H+6JF_qL_M8f53PTvVWJ5acsw@mail.gmail.com> (message from Alex Schröder on Fri, 2 Mar 2018 09:45:53 +0000)

> From: Alex Schröder <kensanata@gmail.com>
> 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.





  reply	other threads:[~2018-03-02 14:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-01 19:23 bug#30670: 26.0.91; PNG files on Windows kensanata
2018-03-01 19:29 ` Eli Zaretskii
2018-03-01 20:25   ` Alex Schröder
2018-03-02  9:06     ` Eli Zaretskii
2018-03-02  9:45       ` Alex Schröder
2018-03-02 14:05         ` Eli Zaretskii [this message]
2018-03-02 14:17           ` Alex Schröder
2018-03-02 14:51             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83efl2wp1b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30670@debbugs.gnu.org \
    --cc=kensanata@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).