GNU bug report logs - #51381
HEIF image format support

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Mon, 25 Oct 2021 03:39:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 51381 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Glenn Morris <rgm <at> gnu.org>, Alan Third <alan <at> idiocy.org>,
 51381 <at> debbugs.gnu.org
Subject: Re: bug#51381: HEIF image format support
Date: Thu, 28 Oct 2021 23:14:08 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

>> Yes, imagemagick supports it, so (via image-convert and the external
>> commands) Emacs can display heic on Debian, for instance.
>
> Just to point out that we prefer GraphicsMagick to ImageMagick if it is
> installed.  Which is a good thing: it has better performance, security
> track record, and fewer dependencies.

Yes, GraphicsMagick is better all over.  But as usual, ImageMagick is
first out with support for the new shiny thing -- GraphicsMagick (in
Debian/bookworm, at least) does not support .heic, but ImageMagick does.

Stefan Kangas <stefan <at> marxist.se> writes:

> 1. emacs -Q --eval '(setq image-use-external-converter t)' /tmp/C001.heic
>
> But I get the error message "Unknown image type", and nothing else.

It probably autodetects GraphicsMagick?  The logic doesn't look for
support per image format, but just uses one of the three.

Try setting `image-converter' to `imagemagick' and restart Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 150 days ago.

Previous Next


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