unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Wolfgang Jenkner <wjenkner@inode.at>
To: Juri Linkov <juri@jurta.org>
Cc: 10112@debbugs.gnu.org
Subject: bug#10112: ImageMagick doesn't display some image formats
Date: Thu, 24 Nov 2011 22:42:40 +0100	[thread overview]
Message-ID: <85ehwx2o4v.fsf@iznogoud.viz> (raw)
In-Reply-To: <87zkfltk13.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 24 Nov 2011 21:09:12 +0200")

Juri Linkov <juri@jurta.org> writes:

> This means that ImageMagick is unable to read a TGA image from Blob,
> i.e. when the image is defined by the :data tag like Gnus does.
> OTOH, when a TGA image is defined by the :file tag, then ImageMagick
> can read it and display correctly.

Isn't this simply because image-type-header-regexps doesn't contain an
entry to detect that image format?  E.g., I have to explicitly
(add-to-list 'image-type-header-regexps '("\\`\377\330" . imagemagick))
to have image-mode use imagemagick to display a jpeg file.

Wolfgang





  reply	other threads:[~2011-11-24 21:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 22:01 bug#10112: ImageMagick doesn't display some image formats Juri Linkov
2011-11-24 19:09 ` Juri Linkov
2011-11-24 21:42   ` Wolfgang Jenkner [this message]
2011-11-24 21:52     ` Wolfgang Jenkner
2011-11-24 22:49       ` Juri Linkov
2011-12-15 23:57         ` Juri Linkov
2012-06-13 23:57           ` Juri Linkov
2014-12-08 23:32           ` Lars Magne Ingebrigtsen
2014-12-09  0:58             ` Juri Linkov
2014-12-09  1:18               ` Lars Magne Ingebrigtsen
2011-12-15 23:32   ` Juri Linkov

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=85ehwx2o4v.fsf@iznogoud.viz \
    --to=wjenkner@inode.at \
    --cc=10112@debbugs.gnu.org \
    --cc=juri@jurta.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).