From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#6837: Cannot view PNG images Date: Fri, 13 Aug 2010 10:12:17 +0100 Message-ID: References: <8439um16qi.fsf@aol.com> <4C62161A.8040701@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281692338 22919 80.91.229.12 (13 Aug 2010 09:38:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2010 09:38:58 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 13 11:38:53 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 1Ojqiu-0007yF-9t for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Aug 2010 11:38:48 +0200 Original-Received: from localhost ([127.0.0.1]:58132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojqit-0004yA-IN for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Aug 2010 05:38:47 -0400 Original-Received: from [140.186.70.92] (port=51093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojqil-0004x6-Bc for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:38:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ojqij-0007ke-Ve for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:38:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40225) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojqij-0007kT-Se for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:38:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OjqJx-00073Q-PW; Fri, 13 Aug 2010 05:13:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <8439um16qi.fsf@aol.com> Resent-From: Andy Moreton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Aug 2010 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.128169072727107 (code B ref -1); Fri, 13 Aug 2010 09:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Aug 2010 09:12:07 +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 1OjqJ5-00073A-7R for submit@debbugs.gnu.org; Fri, 13 Aug 2010 05:12:07 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjqJ2-00072o-G9 for submit@debbugs.gnu.org; Fri, 13 Aug 2010 05:12:05 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:41278) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OjqJr-00045i-Rp for submit@debbugs.gnu.org; Fri, 13 Aug 2010 05:12:55 -0400 Original-Received: from [140.186.70.92] (port=37545 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjqJq-0002Pn-74 for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:12:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjqJo-00049f-W4 for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:12:54 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48221) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjqJo-00049J-Pi for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 05:12:52 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OjqJm-0005O3-4G for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2010 11:12:50 +0200 Original-Received: from 82-69-137-158.dsl.in-addr.zen.co.uk ([82.69.137.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 11:12:50 +0200 Original-Received: from andrewjmoreton by 82-69-137-158.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 11:12:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-137-158.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:Pb6vH6IgrP3MLNSB51uERTl2uT4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 13 Aug 2010 05:13:01 -0400 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:39457 Archived-At: On Wed 11 Aug 2010, Jason Rumney wrote: > On 11/08/2010 05:46, nyc4bos@aol.com wrote: >> Looking at the *Message* buffer, I see errors such as: >> >> PNG error: Incompatible libpng version in application and library >> PNG warning: Application was compiled with png.h from libpng-1.4.3 >> PNG warning: Application is running with png.c from libpng-1.2.37 >> > The message is quite self explanatory. You need to update your libpng > installation. I have also encountered this problem with the prebuilt Win32 binaries. I've built libpng14.dll and zlib1.dll from upstream sources. To get emacs to use the new DLLs, I had to update image-library-alist to include the new DLL name. It would be helpful for users of binary emacs packages if the image handling was improved as follows: 1) Display the image DLL version mismatch message in the minibuffer as well as in the *Messages* buffer, as it is not immediately obvious what the problem is. 2) Do not cache the results of the image DLL lookup. If the required DLLs are copied to the emacs/bin directory after emacs is started, it requires a restart to notice that the DLL is now available. 3) Make the required image DLL version number available at the lisp level alongside image-library-alist, so the user can determine which version of the DLL they need to build. AndyM