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: How do I make windows emacs display PNG and JPEG images? Date: Mon, 29 Dec 2014 17:58:19 +0200 Message-ID: <83mw66jvms.fsf@gnu.org> References: <86vbkugabs.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419868747 5107 80.91.229.3 (29 Dec 2014 15:59:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 15:59:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 16:58:58 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y5cic-0000D8-Ir for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 16:58:54 +0100 Original-Received: from localhost ([::1]:33792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5cic-0008JI-6G for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 10:58:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5ciL-0008Gm-6I for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:58:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5ciH-0000zi-Vl for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:58:37 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5ciH-0000zG-N0 for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:58:33 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NHC00H00PL9IV00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 17:58:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHC00HZLPPJ6970@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 17:58:32 +0200 (IST) In-reply-to: <86vbkugabs.fsf@dod.no> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 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:101760 Archived-At: > From: Steinar Bang > 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.)