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#21110: 25.0.50; Images viewed with Image[Imagemagick] mode are garbled Date: Thu, 23 Jul 2015 17:57:40 +0300 Message-ID: <837fpq53bv.fsf@gnu.org> References: <87twswbi0o.fsf@capuchin.co.uk> <83io9c43mg.fsf@gnu.org> <21935.47975.804706.106523@capuchin.co.uk> <83egk040oe.fsf@gnu.org> <21936.47984.458242.799724@capuchin.co.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1437663506 9688 80.91.229.3 (23 Jul 2015 14:58:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2015 14:58:26 +0000 (UTC) Cc: 21110@debbugs.gnu.org To: Robert Marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 23 16:58:16 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 1ZIHwt-000871-Sh for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 16:58:16 +0200 Original-Received: from localhost ([::1]:41730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIHwt-0006Nz-FC for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 10:58:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIHwj-0006D2-O6 for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2015 10:58:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIHwh-0007GJ-03 for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2015 10:58:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIHwg-0007G5-U4 for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2015 10:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZIHwg-0006H1-IH for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2015 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jul 2015 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21110-submit@debbugs.gnu.org id=B21110.143766347224096 (code B ref 21110); Thu, 23 Jul 2015 14:58:02 +0000 Original-Received: (at 21110) by debbugs.gnu.org; 23 Jul 2015 14:57:52 +0000 Original-Received: from localhost ([127.0.0.1]:57338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIHwW-0006GZ-80 for submit@debbugs.gnu.org; Thu, 23 Jul 2015 10:57:52 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:64971) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIHwT-0006GQ-Qh for 21110@debbugs.gnu.org; Thu, 23 Jul 2015 10:57:51 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NRY00L004215C00@a-mtaout20.012.net.il> for 21110@debbugs.gnu.org; Thu, 23 Jul 2015 17:57:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRY00KNZ487R1A0@a-mtaout20.012.net.il>; Thu, 23 Jul 2015 17:57:48 +0300 (IDT) In-reply-to: <21936.47984.458242.799724@capuchin.co.uk> X-012-Sender: halo1@inter.net.il 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:105088 Archived-At: > Date: Thu, 23 Jul 2015 11:01:20 +0100 > From: Robert Marshall > Cc: 21110@debbugs.gnu.org > > I can confirm that building without Cairo stops the corruption If you can afford one more test, perhaps try building with Cairo, but without Imagemagick (and with the rest of image support libraries). The Cairo build makes quite a bit of difference in image.c, but only one of them is related to the Imagemagick part, so I think it's important to understand whether this issue with Cairo is specific to Imagemagick or to images in general. Does anyone else have problems with Imagemagick (or images in general) in the Cairo build? > > Use "M-x customize-variable RET" to disable all Imagemagick types. > > > > I tried this and disabled png support in imagemagick-enabled-types but > still when I load a png the mode is reported as > > 'Image[imagemagick] mode defined in ‘image-mode.el’' > > which I assume means that it's still using imagemagick? Probably. Building without Imagemagick would resolve the mystery. > > Btw, please do send a screenshot with the corrupted images, maybe > > seeing it will give more ideas. > > Emailed yesterday Yes, thanks. Basically, I understand that the "image" shown by Emacs contains no traces of the image itself, only some random garbage from some entirely different graphics context, is that right?