From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Valencia Newsgroups: gmane.emacs.bugs Subject: bug#20291: png files don't display on emacs 24.4.1 Date: Fri, 10 Apr 2015 06:05:33 -0500 Message-ID: References: <83vbh4tft8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3b434400a0005135cbe16 X-Trace: ger.gmane.org 1428663985 5933 80.91.229.3 (10 Apr 2015 11:06:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2015 11:06:25 +0000 (UTC) Cc: 20291@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 13:06:18 2015 Return-path: Envelope-to: geb-bug-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 1YgWlL-0002bq-Ll for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 13:06:16 +0200 Original-Received: from localhost ([::1]:38599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWlJ-0007pb-SL for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 07:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWlB-0007k9-JQ for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:06:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgWl8-00064t-9F for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:06:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWl8-00064o-5t for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YgWl7-0001rX-Td for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Valencia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Apr 2015 11:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20291-submit@debbugs.gnu.org id=B20291.14286639437125 (code B ref 20291); Fri, 10 Apr 2015 11:06:01 +0000 Original-Received: (at 20291) by debbugs.gnu.org; 10 Apr 2015 11:05:43 +0000 Original-Received: from localhost ([127.0.0.1]:51869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgWko-0001qq-AC for submit@debbugs.gnu.org; Fri, 10 Apr 2015 07:05:42 -0400 Original-Received: from mail-la0-f49.google.com ([209.85.215.49]:35548) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgWkl-0001qb-7v for 20291@debbugs.gnu.org; Fri, 10 Apr 2015 07:05:39 -0400 Original-Received: by labbd9 with SMTP id bd9so10533807lab.2 for <20291@debbugs.gnu.org>; Fri, 10 Apr 2015 04:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5v9qqrnUkmAsAdLW8bx7EM8gY8K9mV5hJO7HAdIlLoM=; b=eoQCbCfoDtWlwo5m2MJdNQYgFkJZO3CIwihG/ypbPnQA11o+/FQ/pfIr4YQpG+92N3 wbxyOKbr26+at0YfC8IQYzNJA8F5ydqKHYgUg4F6WW6vZzIbp7yv3MnROWhXJdLXR8/R 6efN9Z+CYXcz6hOX9MM4+KrvWPdJUCXdBrrbcrq6qU9m8bGtzk65Qpnj5Crsdqd5lbQa JES3Xg2KmA0WpEI9QVGZUOyo+uVJSCu3gIQDsBN8lwkFYjE42xPeb8Mtt03s6BNpvzOY 4r8h0xyafr5/BJNGbWc2pXZ6GgBQ6quQMgu7/WesLBxv1M2o2wjZDAYJiutiZQmOCpxT ftRw== X-Received: by 10.112.12.68 with SMTP id w4mr902330lbb.87.1428663933338; Fri, 10 Apr 2015 04:05:33 -0700 (PDT) Original-Received: by 10.112.170.130 with HTTP; Fri, 10 Apr 2015 04:05:33 -0700 (PDT) In-Reply-To: <83vbh4tft8.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101369 Archived-At: --001a11c3b434400a0005135cbe16 Content-Type: text/plain; charset=UTF-8 The zlib dll was the problem. I replaced it with the new version and it worked properly. I probably copied it from the older emacs folder. Thank you! 2015-04-10 5:53 GMT-05:00 Eli Zaretskii : > > Date: Fri, 10 Apr 2015 05:32:49 -0500 > > From: Mario Valencia > > > > On the previous emacs 24.3 it png files display just fine with > libpng14-14.dll. > > On emacs 24.4.1 on windows 8, all png files give an error: "Cannot > display > > image: (Invalid image specification)". Other images, like jpg display > fine. I > > have this files in the emacs bin directory: (as you can see i have > > libpng-16-16.dll) > > What does this produce: > > M-: (image-type-available-p 'png) RET > > And what does this produce: > > M-: libpng-version RET > > And finally, how about this one: > > M-: dynamic-library-alist > > > -rw-rw-rw- 1 mario mario 72192 03-11 11:36 zlib1.dll > > This DLL's size is much smaller than what I have on my machine; > perhaps this is your problem? (libpng depends on zlib1.dll.) Make > sure you use the one that came with libpng. > --001a11c3b434400a0005135cbe16 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The zlib dll was the problem. I replaced it with the new v= ersion and it worked properly. I probably copied it from the older emacs fo= lder. Thank you!

2015-04-10 5:53 GMT-05:00 Eli Zaretskii <eliz@gnu.org>:
=
> Date: Fri, 10 Apr 2015 05:32:49 -0500 > From: Mario Valencia <mari= ovalspi@gmail.com>
>
> On the previous emacs 24.3 it png files display just fine with libpng1= 4-14.dll.
> On emacs 24.4.1 on windows 8, all png files give an error: "Canno= t display
> image: (Invalid image specification)". Other images, like jpg dis= play fine. I
> have this files in the emacs bin directory: (as you can see i have
> libpng-16-16.dll)

What does this produce:

=C2=A0 M-: (image-type-available-p 'png) RET

And what does this produce:

=C2=A0 M-: libpng-version RET

And finally, how about this one:

=C2=A0 M-: dynamic-library-alist

> -rw-rw-rw- 1 mario mario 72192 03-11 11:36 zlib1.dll

This DLL's size is much smaller than what I have on my machine;
perhaps this is your problem?=C2=A0 (libpng depends on zlib1.dll.)=C2=A0 Ma= ke
sure you use the one that came with libpng.

--001a11c3b434400a0005135cbe16--