From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: My emacs on Windows =?utf-8?Q?doesn=C2=B4t?= show Images (png, jpeg...) even with .dll-files Date: Thu, 25 Aug 2011 14:26:54 +0300 Message-ID: <83aaaxhgu9.fsf@gnu.org> References: <4E54D570.3040606@kit.edu> <83ei0aghi3.fsf@gnu.org> <4E5608AD.2010203@kit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1314271622 3602 80.91.229.12 (25 Aug 2011 11:27:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2011 11:27:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 13:26:58 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwY5K-0002bZ-5L for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 13:26:58 +0200 Original-Received: from localhost ([::1]:53161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwY5J-0000qF-LH for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 07:26:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwY5F-0000qA-OG for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 07:26:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwY5E-0003J4-Bh for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 07:26:53 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwY5E-0003Iz-1Y for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 07:26:52 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQH00500EDU7600@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 14:26:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.21.112]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQH004WZEGPSQ70@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 14:26:50 +0300 (IDT) In-reply-to: <4E5608AD.2010203@kit.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82058 Archived-At: > Date: Thu, 25 Aug 2011 10:32:45 +0200 > From: Philipp Hahne >=20 > > 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 3249= CTO > get from: http://ftp.gnu.org/pub/gnu/emacs/windows/ > [...] > now I have included only the dll=C2=B4s requestet for image support= in=20 > README.W32 in the ...\emacs-23.3\bin directory, e.g. jpeg 62.dll,= =20 > libtiff3.dll, libungif4.dll (all downloaded from gnuwin32 project) = and=20 > libpng14-14.dll ( downloaded from=20 > http://trac.mccode.org/browser/branches/mcstas-1.x/support/Win32/gn= uplot/libpng14-14.dll?rev=3D3081) >=20 > I am not sure what ist meant with: > "If you have image support DLLs under different names, customize th= e=20 > 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 tr= ying=20 > to open pdf getting the message: Unable to render file. View extrac= ted=20 > text instead? (y or n) JPEG images work for me with jpeg62.dll whose size is 127488 bytes an= d date 2005-06-04; I downloaded it long ago from GnuWin32. Is that wha= t you have? As for PNG, I suggest to download from here: http://www.gtk.org/download-windows.html as recommended by README.W32.