GNU bug report logs - #10112
ImageMagick doesn't display some image formats

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Tue, 22 Nov 2011 22:09:02 UTC

Severity: normal

Tags: fixed, patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: 10112 <at> debbugs.gnu.org
Subject: bug#10112: ImageMagick doesn't display some image formats
Date: Fri, 25 Nov 2011 00:49:37 +0200
>>  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.
>
> Sorry, this seems to be another problem...

Yes, this is another problem.  Gnus doesn't use `image-type-header-regexps'.
mm-decode.el creates an image by calling `create-image' with `imagemagick'
and `data-p' arguments, so `image-type' doesn't call `image-type-from-data'.

But this is still a problem.  Currently we can't view images supported
by ImageMagick when they are visited from archives.  That's because of
the problem you mentioned: there are no ImageMagick headers in
`image-type-header-regexps'.

Another problem is that we can't use ImageMagick transformations on
default image types JPEG, GIF, PNG because they are not visited
with the help of ImageMagick.




This bug report was last modified 9 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.