unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Marshall <robert@capuchin.co.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21110@debbugs.gnu.org
Subject: bug#21110: 25.0.50; Images viewed with Image[Imagemagick] mode are garbled
Date: Fri, 24 Jul 2015 13:18:49 +0100	[thread overview]
Message-ID: <21938.11561.256985.229831@capuchin.co.uk> (raw)
In-Reply-To: <837fpq53bv.fsf@gnu.org>

Eli Zaretskii writes:
 > > Date: Thu, 23 Jul 2015 11:01:20 +0100
 > > From: Robert Marshall <robert@capuchin.co.uk>
 > > 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.
 > 
I did a

./configure --without-imagemagick --with-cairo

and build and with that version graphic files are no longer garbled

(It would be good IMHO if the INSTALL file mentioned the
--without-imagemagick option alongside the --without-jpeg options
rather than my having to dig through the configure script)

 > 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.
 > 

C-h m in a png file now gives me 'Image[png] mode defined in  image-mode.el' 

> >  > 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?
 > 

Well if there is anything from the image it is well hidden!


Robert





  reply	other threads:[~2015-07-24 12:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 10:31 bug#21110: 25.0.50; Images viewed with Image[Imagemagick] mode are garbled Robert Marshall
2015-07-22 15:24 ` Eli Zaretskii
2015-07-22 15:48   ` Robert Marshall
2015-07-22 16:28     ` Eli Zaretskii
2015-07-23 10:01       ` Robert Marshall
2015-07-23 14:57         ` Eli Zaretskii
2015-07-24 12:18           ` Robert Marshall [this message]
2015-07-24 13:43             ` Eli Zaretskii
2015-07-23 16:10         ` Glenn Morris
2015-07-24 12:20           ` Robert Marshall
2019-06-23  4:32         ` YAMAMOTO Mitsuharu
2019-06-30  8:21           ` Robert Marshall
2019-06-30  9:05             ` YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21938.11561.256985.229831@capuchin.co.uk \
    --to=robert@capuchin.co.uk \
    --cc=21110@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).