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

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

On Fri, Mar 2, 2018 at 9:06 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Alex Schröder <kensanata@gmail.com>
> > On Thu, Mar 1, 2018 at 7:29 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >  > From: kensanata@gmail.com
> >  > c:/Portable Programs/emacs-26.0.91-x86_64/bin $ ls lib* | grep "png"
> >  > libpng-config
> >  > libpng16-16.dll
> >  > libpng16-config
> >
> >  Where did you get those PNG DLLs?
> >
> > These three files are in emacs-26.0.91-x86_64.zip which I got from
> > https://alpha.gnu.org/gnu/emacs/pretest/windows/
>
> 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

Cheers
Alex

[-- Attachment #2: Type: text/html, Size: 3010 bytes --]

  reply	other threads:[~2018-03-02  9:45 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 [this message]
2018-03-02 14:05         ` Eli Zaretskii
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=CAORWZRdovLotZ4pfpUnO0WUy+H+6JF_qL_M8f53PTvVWJ5acsw@mail.gmail.com \
    --to=kensanata@gmail.com \
    --cc=30670@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).