all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I make windows emacs display PNG and JPEG images?
Date: Mon, 29 Dec 2014 17:58:19 +0200	[thread overview]
Message-ID: <83mw66jvms.fsf@gnu.org> (raw)
In-Reply-To: <86vbkugabs.fsf@dod.no>

> From: Steinar Bang <sb@dod.no>
> Date: Mon, 29 Dec 2014 08:54:31 +0100
> 
>  Windows 8 Home Edition 64bit
>  GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN
>  From ezwinports[1]:
>   jpeg-v9a-w32-bin.zip
>   libpng-1.6.12-w32-bin.zip
> 
> I have downloaded the jpeg and libpng zip files from ezwinports[1] and
> unpacked them and put the following .dll files in the emacs bin
> directory:
>  libpng16-16.dll (dated: 2014-06-21)
>  zlib1.dll       (dated: 2008-07-13)
>  libjpeg-9.dll   (dated: 2014-06-21)

You should put _all_ the files in bin/ that you find in the *.zip
files, not just select DLLs.

Also, the date of zlib1.dll looks old.

But I don't think these are the reasons for your problems.

> However, emacs still starts up without PNG and JPEG support.  The
> following expressions both eval to nil in the scratch buffer:
>  (image-type-available-p 'jpeg)
>  (image-type-available-p 'png)
> 
> Is there a way to debug this further?  Do I have to copy some of the exe
> files as well as the dll files?

What are the versions of the libraries against which the Emacs binary
was built?  Look at the values of the variables libpng-version and
libjpeg-version: do they match the versions of the DLLs you installed?
(There's some explanation of this near line 200 of w32-win.el.)



  reply	other threads:[~2014-12-29 15:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29  7:54 How do I make windows emacs display PNG and JPEG images? Steinar Bang
2014-12-29 15:58 ` Eli Zaretskii [this message]
2014-12-30  7:47   ` Steinar Bang
2014-12-30 15:52     ` Eli Zaretskii
2014-12-31 11:20       ` Steinar Bang
2014-12-31 16:27         ` 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

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

  git send-email \
    --in-reply-to=83mw66jvms.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.