[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I make windows emacs display PNG and JPEG images?
From: |
Steinar Bang |
Subject: |
Re: How do I make windows emacs display PNG and JPEG images? |
Date: |
Wed, 31 Dec 2014 12:20:49 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (windows-nt) |
>>>>> Eli Zaretskii <eliz@gnu.org>:
>> libpng-version's value is 10403
>> No match for libjpeg-version.
> Right, that's the problem. You need libpng14-14.dll or libpng14.dll
> for PNG, and jpeg62.dll for JPEG. See w32-win.el for the full list.
I couldn't find old versions of the DLLs somewhere on the ezwinports
sites? (I looked for an "Old Releases" folder that sourceforge sites
sometimes have, but couldn't find it).
So what I did was to install emacs 24.4 (emacs-24.4-bin-i686-pc-mingw32)
from here:
http://ftp.gnu.org/pub/gnu/emacs/windows/
For 24.4 from above:
libpng-version's value is 10612
libjpeg-version's value is 90
Then I copied in the entire bin directory contents of the unzips pf
these ezwinports packages into the emacs-24.4-bin-i686-pc-mingw32/bin
directory:
gnutls-3.3.11-w32-bin.zipgnutls-3.3.11-w32-bin.zip
jpeg-v9a-w32-bin.zip
libpng-1.6.12-w32-bin.zip
libxml2-2.7.8-w32-bin.zip
And now PNGs display fine inlined in Gnus, and JPEGs probably will as
well, when I encounter them, because:
(image-type-available-p 'jpeg)
(image-type-available-p 'png)
both returns t.
Thanks, Eli!
[snip!]
>>> (There's some explanation of this near line 200 of w32-win.el.)
>> No w32-win.el in the lisp directory.
>> locate-library says:
>> No library w32-win in search path
>> No library w32-win.el in search path
> It's in lisp/term/, where all the *-win.el files are kept. Or maybe
> you have a compressed w32-win.el.gz there.
Found it as lisp/term/w32-win.el on 24.3 (ie. uncompressed) and as
share/emacs/24.4/lisp/term/w32-win.el (also uncompressed) on 24.4.
Thanks!