unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
Date: Thu, 25 Aug 2011 14:26:54 +0300	[thread overview]
Message-ID: <83aaaxhgu9.fsf@gnu.org> (raw)
In-Reply-To: <4E5608AD.2010203@kit.edu>

> Date: Thu, 25 Aug 2011 10:32:45 +0200
> From: Philipp Hahne <philipp.hahne@kit.edu>
> 
> > First, which version of Emacs is this, and where did you get it?
> version: Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO
> get from: http://ftp.gnu.org/pub/gnu/emacs/windows/
> [...]
> now I have included only the dll´s requestet for image support in 
> README.W32 in the ...\emacs-23.3\bin directory, e.g. jpeg 62.dll, 
> libtiff3.dll, libungif4.dll (all downloaded from gnuwin32 project) and 
> libpng14-14.dll ( downloaded from 
> http://trac.mccode.org/browser/branches/mcstas-1.x/support/Win32/gnuplot/libpng14-14.dll?rev=3081)
> 
> I am not sure what ist meant with:
> "If you have image support DLLs under different names, customize the 
> value of `dynamic-library-alist'."

For Emacs 23.3, the correct variable is `image-library-alist'.

If you evaluate `image-library-alist', like this:

 M-: image-library-alist RET

the value tells you which DLLs Emacs looks for when it needs to
display each image type.  If your DLLs are called differently, you
will need to modify the value to match the DLLs you have.

> Only when I try to open .jpg and .png I get an empty square, and trying 
> to open pdf getting the message: Unable to render file. View extracted 
> text instead? (y or n)

JPEG images work for me with jpeg62.dll whose size is 127488 bytes and
date 2005-06-04; I downloaded it long ago from GnuWin32.  Is that what
you have?

As for PNG, I suggest to download from here:

  http://www.gtk.org/download-windows.html

as recommended by README.W32.




  reply	other threads:[~2011-08-25 11:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 10:41 My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files Philipp Hahne
2011-08-25  5:57 ` Eli Zaretskii
2011-08-25  8:32   ` Philipp Hahne
2011-08-25 11:26     ` Eli Zaretskii [this message]
2011-08-25 12:36       ` Philipp Hahne
2011-08-25 14:10         ` Eli Zaretskii
2011-08-25 14:19           ` Philipp Hahne
2011-08-25 14:29             ` Eli Zaretskii
2011-08-26  7:02               ` Philipp Hahne

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=83aaaxhgu9.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.
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).