From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7716: 23.2.91; Pretest Windows binary doesn't support PNG images Date: Thu, 23 Dec 2010 20:23:26 +0200 Message-ID: <83wrn0e4bl.fsf@gnu.org> References: <96CD750011454F0284E48443756AFAFE@us.oracle.com> <2CBDA6B5DFE94625B7148D772661D4DC@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1293130427 4694 80.91.229.12 (23 Dec 2010 18:53:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 18:53:47 +0000 (UTC) Cc: sean.sieger@gmail.com, 7716@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 23 19:53:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVqIG-0006FR-Rs for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 19:53:41 +0100 Original-Received: from localhost ([127.0.0.1]:55403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVqIC-0002hy-KR for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 13:53:36 -0500 Original-Received: from [140.186.70.92] (port=52794 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVqI2-0002aI-BX for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 13:53:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVqHi-0000tr-MU for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 13:53:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVqHi-0000tm-Ki for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2010 13:53:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PVpkj-0004QN-S5; Thu, 23 Dec 2010 13:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Dec 2010 18:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7716-submit@debbugs.gnu.org id=B7716.129312833216988 (code B ref 7716); Thu, 23 Dec 2010 18:19:01 +0000 Original-Received: (at 7716) by debbugs.gnu.org; 23 Dec 2010 18:18:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVpkY-0004Px-Pg for submit@debbugs.gnu.org; Thu, 23 Dec 2010 13:18:51 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVpkW-0004Ph-Iq for 7716@debbugs.gnu.org; Thu, 23 Dec 2010 13:18:49 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LDW00100886QT00@a-mtaout21.012.net.il> for 7716@debbugs.gnu.org; Thu, 23 Dec 2010 20:25:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.167.122]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDW001DH8IBOB40@a-mtaout21.012.net.il>; Thu, 23 Dec 2010 20:25:25 +0200 (IST) In-reply-to: <2CBDA6B5DFE94625B7148D772661D4DC@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 23 Dec 2010 13:19:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42758 Archived-At: > From: "Drew Adams" > Cc: <7716@debbugs.gnu.org>, > Date: Thu, 23 Dec 2010 09:36:55 -0800 > > > > (image-type-available-p 'png) => nil > > > > Do you have one of the PNG DLLs installed that are mentioned in > > image-library-alist? > > No. Then that's why you get nil. In your case, you cannot expect to have PNG images displayed as images. > (BTW, that variable is apparently now obsolete.) Not in Emacs 23, which is what this bug is about. > Or rather, how would I know? Where is the variable/function that tells me which > image DLLS are installed? There isn't one, I think. You could use image-search-load-path to see if Emacs finds something (e.g., map it over the corresponding part of image-library-alist). Not sure why would you need that, though. > And shouldn't we be delivering such DLLs with Emacs? There are licensing issues with some of them. We distribute the XPM library, which is the minimum required for displaying the tool-bar icons in color. It should be downloadable from the same place where you get the precompiled binaries. > And where are the instructions that explain where to get such DLLs and what to > do with them? See nt/INSTALL (search for "image"). > Does that "installing" require compiling etc. C sources, or just > putting some DLL files in some directory? The latter; see nt/INSTALL. > What tools does a (Windows) user need to "install" the DLLs? Nothing but bare hands. > I tried `i image'(...), but saw nothing about what to do to make > Emacs images-enabled. That's because they are enabled by default, if Emacs can find the necessary support libraries. PBM is built into Emacs, and the XPM library is available together with Emacs.