From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: Cannot view PNG images Resent-From: nyc4bos@aol.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Aug 2010 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6837@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128147822218667 (code B ref -1); Tue, 10 Aug 2010 22:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2010 22:10:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oix1Z-0004r2-7o for submit@debbugs.gnu.org; Tue, 10 Aug 2010 18:10:21 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oiwdn-0004gd-8j for submit@debbugs.gnu.org; Tue, 10 Aug 2010 17:45:48 -0400 Received: from lists.gnu.org ([199.232.76.165]:50710) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OiweW-00025F-6D for submit@debbugs.gnu.org; Tue, 10 Aug 2010 17:46:32 -0400 Received: from [140.186.70.92] (port=56567 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiweU-0005y8-Ad for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiweS-0003vm-LP for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:29 -0400 Received: from imr-mb01.mx.aol.com ([64.12.207.164]:43519) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiweS-0003vY-Iz for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:28 -0400 Received: from mtaout-ma03.r1000.mx.aol.com (mtaout-ma03.r1000.mx.aol.com [172.29.41.3]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o7ALkKRU010508 for ; Tue, 10 Aug 2010 17:46:21 -0400 Received: from STATION05 (unknown [216.57.92.50]) by mtaout-ma03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 7732CE000096 for ; Tue, 10 Aug 2010 17:46:19 -0400 (EDT) From: nyc4bos@aol.com Date: Tue, 10 Aug 2010 17:46:13 -0400 Message-ID: <8439um16qi.fsf@aol.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:485529312:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29034c61c8ab5e38 X-AOL-IP: 216.57.92.50 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-Spam-Score: -5.6 (-----) X-Mailman-Approved-At: Tue, 10 Aug 2010 18:10:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': With the new Emacs windows binary dated 2010-08-09, I cannot view images such as the splash screen and the Gnus initial screen. 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 Appartently, something has changed since the Emacs windows binary version dated 2010-08-02 with respect to the PNG libraries (libpng3.dll and libpng12.dll), that the current Emacs windows binary dated 2010-08-09 wont display PNG images. It just shows an empty box. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file f:/emacs-24.0.50/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-09 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp949 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: 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 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 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 PNG error: Incompatible libpng version in application and library Load-path shadows: Features: (shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Mon Jun 23 13:12:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: nyc4bos@aol.com Subject: bug#6837: closed (Re: bug#6837: Cannot view PNG images) Message-ID: References: <4C62161A.8040701@gnu.org> <8439um16qi.fsf@aol.com> X-Gnu-PR-Message: they-closed 6837 X-Gnu-PR-Package: emacs Reply-To: 6837@debbugs.gnu.org Date: Wed, 11 Aug 2010 03:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1281496622-26428-1" This is a multi-part message in MIME format... ------------=_1281496622-26428-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6837: Cannot view PNG images which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6837@debbugs.gnu.org. --=20 6837: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6837 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1281496622-26428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6837-done) by debbugs.gnu.org; 11 Aug 2010 03:16:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj1nq-0006s0-Ay for submit@debbugs.gnu.org; Tue, 10 Aug 2010 23:16:30 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj1no-0006ru-TN for 6837-done@debbugs.gnu.org; Tue, 10 Aug 2010 23:16:29 -0400 Received: by pzk6 with SMTP id 6so4112158pzk.3 for <6837-done@debbugs.gnu.org>; Tue, 10 Aug 2010 20:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=xJ3F7e637tp+cOgH7I9QkheJGW2baGw84pUQtjzT4SI=; b=MWQ2ECn4tmOZvxsIbz/lZVjwKME/5/DPciMLC/T7g6HxCFDhXrgOCYn9IhqxTKBq9+ lv9tVUJIeJ8mpb8l2Q24abAFxNtjKRRMBwn4uw33eJhTWDK+zGShv+6NP9lrF/pwWJZ8 fxDM59jCOEDyVKjwYy6FOdTXWss5Nm50hOJuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=spmnTUXscwey+V07syLmgufsyk0lrY+9IaM6P1xvSp+2aHN7uSXTnvIWyfEB5DPCYc 8apY5h4+q2iFZ9+s6q8W6/apSinnLCXzbNEj9U9pE9w/O4pJ8jjDar7Kx7o7uQQgpxqA 8DHMK9Z02+odc1V31htLkzXumQELMKODOxKN8= Received: by 10.114.125.12 with SMTP id x12mr21347820wac.91.1281496633616; Tue, 10 Aug 2010 20:17:13 -0700 (PDT) Received: from [10.1.1.55] ([61.4.103.130]) by mx.google.com with ESMTPS id d38sm14010219wam.20.2010.08.10.20.17.11 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 20:17:12 -0700 (PDT) Message-ID: <4C62161A.8040701@gnu.org> Date: Wed, 11 Aug 2010 11:16:42 +0800 From: Jason Rumney User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: 6837-done@debbugs.gnu.org Subject: Re: bug#6837: Cannot view PNG images References: <8439um16qi.fsf@aol.com> In-Reply-To: <8439um16qi.fsf@aol.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6837-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) 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. ------------=_1281496622-26428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Aug 2010 22:10:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oix1Z-0004r2-7o for submit@debbugs.gnu.org; Tue, 10 Aug 2010 18:10:21 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oiwdn-0004gd-8j for submit@debbugs.gnu.org; Tue, 10 Aug 2010 17:45:48 -0400 Received: from lists.gnu.org ([199.232.76.165]:50710) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OiweW-00025F-6D for submit@debbugs.gnu.org; Tue, 10 Aug 2010 17:46:32 -0400 Received: from [140.186.70.92] (port=56567 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiweU-0005y8-Ad for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiweS-0003vm-LP for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:29 -0400 Received: from imr-mb01.mx.aol.com ([64.12.207.164]:43519) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiweS-0003vY-Iz for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 17:46:28 -0400 Received: from mtaout-ma03.r1000.mx.aol.com (mtaout-ma03.r1000.mx.aol.com [172.29.41.3]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o7ALkKRU010508 for ; Tue, 10 Aug 2010 17:46:21 -0400 Received: from STATION05 (unknown [216.57.92.50]) by mtaout-ma03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 7732CE000096 for ; Tue, 10 Aug 2010 17:46:19 -0400 (EDT) From: nyc4bos@aol.com To: bug-gnu-emacs@gnu.org Subject: Cannot view PNG images Date: Tue, 10 Aug 2010 17:46:13 -0400 Message-ID: <8439um16qi.fsf@aol.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:485529312:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29034c61c8ab5e38 X-AOL-IP: 216.57.92.50 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-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 10 Aug 2010 18:10:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': With the new Emacs windows binary dated 2010-08-09, I cannot view images such as the splash screen and the Gnus initial screen. 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 Appartently, something has changed since the Emacs windows binary version dated 2010-08-02 with respect to the PNG libraries (libpng3.dll and libpng12.dll), that the current Emacs windows binary dated 2010-08-09 wont display PNG images. It just shows an empty box. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file f:/emacs-24.0.50/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-09 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp949 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: 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 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 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 PNG error: Incompatible libpng version in application and library Load-path shadows: Features: (shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------------=_1281496622-26428-1-- From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: closed (Re: bug#6837: Cannot view PNG images) Resent-From: nyc4bos@aol.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Aug 2010 23:16:02 +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: To: 6837@debbugs.gnu.org Cc: Jason Rumney Received: via spool by 6837-submit@debbugs.gnu.org id=B6837.128156855129033 (code B ref 6837); Wed, 11 Aug 2010 23:16:02 +0000 Received: (at 6837) by debbugs.gnu.org; 11 Aug 2010 23:15:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjKWV-0007YE-94 for submit@debbugs.gnu.org; Wed, 11 Aug 2010 19:15:51 -0400 Received: from imr-ma04.mx.aol.com ([64.12.206.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjKQU-0007VD-00 for 6837@debbugs.gnu.org; Wed, 11 Aug 2010 19:09:38 -0400 Received: from mtaout-ma02.r1000.mx.aol.com (mtaout-ma02.r1000.mx.aol.com [172.29.41.2]) by imr-ma04.mx.aol.com (8.14.1/8.14.1) with ESMTP id o7BNAC8Y006003; Wed, 11 Aug 2010 19:10:12 -0400 Received: from STATION05 (unknown [216.57.92.50]) by mtaout-ma02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 9B326E000094; Wed, 11 Aug 2010 19:10:11 -0400 (EDT) From: nyc4bos@aol.com References: <4C62161A.8040701@gnu.org> <8439um16qi.fsf@aol.com> Date: Wed, 11 Aug 2010 19:09:58 -0400 In-Reply-To: (GNU bug Tracking System's message of "Wed, 11 Aug 2010 03:17:02 +0000") Message-ID: <84y6ccn3uh.fsf@aol.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:389779872:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29024c632dd31219 X-AOL-IP: 216.57.92.50 X-Spam-Score: -3.8 (---) X-Mailman-Approved-At: Wed, 11 Aug 2010 19:15:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On 11/08/2010 11:16, 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. Unfortunately, the only libpng library available to me that I could find is from http://gnuwin32.sourceforge.net/packages/libpng.htm which is libpng.2.37. They don't have the 1.4.x series for windows. From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: Cannot view PNG images 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: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128169072727107 (code B ref -1); Fri, 13 Aug 2010 09:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2010 09:12:07 +0000 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 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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/ From: Andy Moreton Date: Fri, 13 Aug 2010 10:12:17 +0100 Lines: 35 Message-ID: References: <8439um16qi.fsf@aol.com> <4C62161A.8040701@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 17:41:46 2010 Received: (at control) by debbugs.gnu.org; 24 Sep 2010 21:41:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzG1a-0000l8-NB for submit@debbugs.gnu.org; Fri, 24 Sep 2010 17:41:46 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzG1Z-0000l3-D1 for control@debbugs.gnu.org; Fri, 24 Sep 2010 17:41:45 -0400 Received: by iwn3 with SMTP id 3so2606936iwn.3 for ; Fri, 24 Sep 2010 14:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=HCmR8NFdjYcH/nJbCoZ14sFiNzRRxovrzj9Khq+dyK8=; b=CGk3l5+QeP9eM5siiI4AfM+uPNiEHgcHdbdzE6n7YycymLV3qqnAZgWpAlkjjfVoaw 3cpeh47JJhMOmathNAKg2QwC4RGmGGu8HTNwCJhJvKBJoNTlH0u/OhvtwDJGUL9HjCFQ xjLkZ6dN0WoiTqi2AHathD4TsKcpYBHk2JcfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=bcdF/r93QJeKnXeO5u0YOZJc9wfeBdbbrjX1aONZEPhObrO4YCsl0LzPdvM2dyS9uH iG1q06Pe0EN0LmZhFysPx0EWbt3IbvXdkXxOgiVkZ9XTAyyFFP5F4WzJhGpwSGzV1LWS l9pIgDyE2tyr0modKjUjCSHSfPeNQWc5GB4KY= Received: by 10.231.146.134 with SMTP id h6mr4434976ibv.170.1285364654260; Fri, 24 Sep 2010 14:44:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.196.71 with HTTP; Fri, 24 Sep 2010 14:43:33 -0700 (PDT) From: Juanma Barranquero Date: Fri, 24 Sep 2010 23:43:33 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) unarchive 6837 From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: Cannot view PNG images Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2010 00:22: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: To: Andy Moreton Cc: 6837@debbugs.gnu.org Received: via spool by 6837-submit@debbugs.gnu.org id=B6837.12853740649530 (code B ref 6837); Sat, 25 Sep 2010 00:22:01 +0000 Received: (at 6837) by debbugs.gnu.org; 25 Sep 2010 00:21:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzIVk-0002Tf-0y for submit@debbugs.gnu.org; Fri, 24 Sep 2010 20:21:04 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzIVi-0002TI-BL for 6837@debbugs.gnu.org; Fri, 24 Sep 2010 20:21:02 -0400 Received: by iwn3 with SMTP id 3so2707463iwn.3 for <6837@debbugs.gnu.org>; Fri, 24 Sep 2010 17:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uAMCak7nKL1l5NXImZ37oWylSNDi+nL774Pt3aRxy9c=; b=dLL4TpZchfsQygR8tuZ9USpcxqvxPiEQuY4sGB7gLdoV55oM+GwCD3VJHz2ePUQbwC e4XQ9aF175ysly/LaVql6/MCkftLgegQPYz8TIWD3dtQliawhuNbd0IxmJgvPu9tpaTl fIo6E+wdUsS0XtJrHVGQ8LOX3kXCN8k5BjYv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=bcQAR7DgAQaay20kL0OTFAvnt/4l/qcn3nrr5duKFbeKQ0C6A3POkngwgsbZk84Hs0 oqunginOSpB6cY/9FxoR/CUDMRXR6IXmpZxAymMU0QMH2U2lqnySBBDedIzov/PNo9KA iYzdAzCuzMZ2qNuO7VQ2Ml+O9LVpqISx5iCek= Received: by 10.231.146.141 with SMTP id h13mr4476365ibv.1.1285374223124; Fri, 24 Sep 2010 17:23:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.196.71 with HTTP; Fri, 24 Sep 2010 17:23:02 -0700 (PDT) In-Reply-To: References: <4C62161A.8040701@gnu.org> <8439um16qi.fsf@aol.com> From: Juanma Barranquero Date: Sat, 25 Sep 2010 02:23:02 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Fri, Aug 13, 2010 at 11:12, Andy Moreton wrot= e: > 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. Having to set up `image-library-alist' is not a bug. That's what the variable is for. > 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. Image error messages are not treated diferently than other errors. > 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. For this to work correctly, Emacs on Windows would be forced to check (either unloading/loading the library or looking at the library's path and/or timestamp) on *every* access to one of the library's functions. It's much easier to live with this limitation (which is documented on nt/INSTALL). BTW, not that it is relevant, but note that the image libraries need not to be on the bin/ directory of Emacs, they could be anywhere in the PATH (which is not limited to the setting of the PATH environment variable; it's also affected by the App Paths registry entry, etc.), or even outside the PATH if the relevant image-library-alist entry has been added. > 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. How do you determine the required image DLL version? Emacs is compiled with a given set of #includes, but there's no general way to determine whether older or newer releases will be compatible or not. If the library is able to determine that it is not, and gives an error message (like the one originating this bug report), it's easy to determine that there's a version mismatch. It could be possible to make available the version of each library used to compile the running binary, but again, that does not offer much information about which versions are compatible. =C2=A0 =C2=A0 Juanma From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: Cannot view PNG images 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: Sat, 25 Sep 2010 18:40:02 +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: To: Juanma Barranquero Cc: Andy Moreton , 6837@debbugs.gnu.org Received: via spool by 6837-submit@debbugs.gnu.org id=B6837.12854399508273 (code B ref 6837); Sat, 25 Sep 2010 18:40:02 +0000 Received: (at 6837) by debbugs.gnu.org; 25 Sep 2010 18:39:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzZeP-00029O-Eq for submit@debbugs.gnu.org; Sat, 25 Sep 2010 14:39:09 -0400 Received: from mail-ww0-f42.google.com ([74.125.82.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzZeF-00028v-Ch for 6837@debbugs.gnu.org; Sat, 25 Sep 2010 14:39:07 -0400 Received: by wwi18 with SMTP id 18so52266wwi.3 for <6837@debbugs.gnu.org>; Sat, 25 Sep 2010 11:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=y2eO6aEROF0ZgphnOs5RaLK0Sy7VvNyVwlSk81f6t3o=; b=GIhTAAWW0qqMlWvRX0hoe2llOKtSwnnzi0VCV/nDYLOiap5X7MZFnZJZkBxmkkPalZ Ygks4w692iqUW862tUwDZM7Q7z62ZpEZUe7DASQOlXA1MhCjpE3CiSbcLfmD0ctPsfGg dbAXPydXjgaQ6vEfhn6Xyhe4vS7PYd2quDydk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=pD7gqypzye5SzH78J+tawhKqRW5BdHjRkFXfyJeML9rTi0HUwloNFLeVOM8IP7fI2C VF04No5OJ81iEOOaPjZuYdhD3qvbRIFmC8DxDFiS1yPtP5OgUkQhRQxzYvXzOAdYbpds 9gByJdbVDIN9EA7BW6Atikh99nsC1DSQaQcAw= MIME-Version: 1.0 Received: by 10.216.188.211 with SMTP id a61mr10904832wen.15.1285440048093; Sat, 25 Sep 2010 11:40:48 -0700 (PDT) Received: by 10.216.170.21 with HTTP; Sat, 25 Sep 2010 11:40:48 -0700 (PDT) In-Reply-To: References: <4C62161A.8040701@gnu.org> <8439um16qi.fsf@aol.com> Date: Sat, 25 Sep 2010 19:40:48 +0100 Message-ID: From: Andy Moreton Content-Type: multipart/alternative; boundary=0016e64c26a47258d4049119d5cb X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --0016e64c26a47258d4049119d5cb Content-Type: text/plain; charset=ISO-8859-1 On 24 September 2010 22:19, Juanma Barranquero wrote: > On Fri, Aug 13, 2010 at 11:12, Andy Moreton > wrote: > > > 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. > > Having to set up `image-library-alist' is not a bug. That's what the > variable is for. > I didn't imply it was a bug, but that some user configuration was required. It would be helpful to add the new DLL name to the list. > > > > 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. > > For this to work correctly, Emacs on Windows would be forced to check > (either unloading/loading the library or looking at the library's path > and/or timestamp) on *every* access to one of the library's functions. > It's much easier to live with this limitation (which is documented on > nt/INSTALL). BTW, not that it is relevant, but note that the image > libraries need not to be on the bin/ directory of Emacs, they could be > anywhere in the PATH (which is not limited to the setting of the PATH > environment variable; it's also affected by the App Paths registry > entry, etc.), or even outside the PATH if the relevant > image-library-alist entry has been added. > Sorry, I did not express myself clearly here. The case I considered was when image DLL lookup fails, and emacs no longer bothers looking. It would be helpful if emacs tried to locate the image DLL again the next time image display is required. > 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. > [snipped] > > It could be possible to make available the version of each library > used to compile the running binary, but again, that does not offer > much information about which versions are compatible. > > This is exactly what I was suggesting. Once you know the versions of the headers that emacs was built with, you can then search the web to discover if the installed DLL is compatible. While this still may not solve the problem, it help to know which version of the DLL to look for. AndyM --0016e64c26a47258d4049119d5cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24 September 2010 22:19, Juanma Barranquero <lekktu@gmail.com> wrote:
On Fri, Aug 13, 2010 at 11:12, Andy Moreton <andrewjmoreton@gmail.com> wrote:

> I have also encountered this problem with the prebuilt Win32 binaries.=
> I've built libpng14.dll and zlib1.dll from upstream sources. To ge= t
> emacs to use the new DLLs, I had to update image-library-alist to
> include the new DLL name.

Having to set up `image-library-alist' is not a bug. That's what th= e
variable is for.

I didn't imply it was a bug, = but that some user configuration was required.
=A0It would be helpful to= add the new DLL name to the list.


> 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<= br> > requires a restart to notice that the DLL is now available.

For this to work correctly, Emacs on Windows would be forced to check
(either unloading/loading the library or looking at the library's path<= br> and/or timestamp) on *every* access to one of the library's functions.<= br> It's much easier to live with this limitation (which is documented on nt/INSTALL). BTW, not that it is relevant, but note that the image
libraries need not to be on the bin/ directory of Emacs, they could be
anywhere in the PATH (which is not limited to the setting of the PATH
environment variable; it's also affected by the App Paths registry
entry, etc.), or even outside the PATH if the relevant
image-library-alist entry has been added.

Sorry, I= did not express myself clearly here. The case I considered was when image = DLL lookup fails, and emacs no longer bothers looking. It would be helpful = if emacs tried to locate the image DLL again the next time image display is= required.

> 3) Make the required image DLL version number available at the lisp> level alongside image-library-alist, so the user can determine which<= br>> version of the DLL they need to build.
[snippe= d]

It could be possible to make available the version of each library
used to compile the running binary, but again, that does not offer
much information about which versions are compatible.

This is exactly what I was suggesting. Once you know = the versions of the headers that emacs was built with, you can then search = the web to discover if the installed DLL is compatible. While this still ma= y not solve the problem, it help to know which version of the DLL to look f= or.

=A0=A0=A0 AndyM
--0016e64c26a47258d4049119d5cb-- From unknown Mon Jun 23 13:12:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6837: Cannot view PNG images Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2010 20:50:03 +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: To: Andy Moreton Cc: Andy Moreton , 6837@debbugs.gnu.org Received: via spool by 6837-submit@debbugs.gnu.org id=B6837.128544775314353 (code B ref 6837); Sat, 25 Sep 2010 20:50:03 +0000 Received: (at 6837) by debbugs.gnu.org; 25 Sep 2010 20:49:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzbgG-0003jS-Gk for submit@debbugs.gnu.org; Sat, 25 Sep 2010 16:49:12 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzbgE-0003jN-Cj for 6837@debbugs.gnu.org; Sat, 25 Sep 2010 16:49:10 -0400 Received: by iwn3 with SMTP id 3so3373803iwn.3 for <6837@debbugs.gnu.org>; Sat, 25 Sep 2010 13:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=VSaWUpJ+IkfGHxWyl3/fjzvcwHVaxcJS5aw7Dg+FdsQ=; b=MNrbeDT7mUTy+EvPXI1TlxtlpFKBtLxEPVec0TETrniOW6JKjGR1dbeF/itDBImQTR 8dCpb8+Q5xYeTbXPokvphjHLxu+iyb96r8mBEms3ntEbZtsFNOBCz5HjSdyVSiD0ztF+ v5cJrCV0yusfE77sw/DvYqzvjN1cRPeXscv2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=vfex7/0U2FK6HFBn72WvOtP19vGS0pfGypRYpK0HTjZ5guyIZ+rnanFBFGgCBkP2Xv CpZKTcDhuRBTrn36XyyGQdahoLOqby6yy69uygQNCcFwW3xkjw70Im/LbiAiFRuF/P4j VFWKY4nMD/2nnbO2UxKhvH5vHNIG4lXOaMUVs= Received: by 10.231.159.204 with SMTP id k12mr6315300ibx.42.1285447907107; Sat, 25 Sep 2010 13:51:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.196.71 with HTTP; Sat, 25 Sep 2010 13:51:07 -0700 (PDT) In-Reply-To: References: <4C62161A.8040701@gnu.org> <8439um16qi.fsf@aol.com> From: Juanma Barranquero Date: Sat, 25 Sep 2010 22:51:07 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Sat, Sep 25, 2010 at 20:40, Andy Moreton wrote: > I didn't imply it was a bug, but that some user configuration was require= d. > =C2=A0It would be helpful to add the new DLL name to the list. Which one? > Sorry, I did not express myself clearly here. The case I considered was w= hen > image DLL lookup fails, and emacs no longer bothers looking. It would be > helpful if emacs tried to locate the image DLL again the next time image > display is required. Yes, I understand, but again, if you're for example trying to display a lot of images, and they are from a type not loaded, *each* function access will try to load the library (under all known names) and fail. > This is exactly what I was suggesting. Once you know the versions of the > headers that emacs was built with, you can then search the web to discove= r > if the installed DLL is compatible. This bug is closed. I suggest you send that as a wishlist bug report, so it is remembered. Better still if you want to send a patch instead ;-) =C2=A0 =C2=A0 Juanma