GNU bug report logs - #33282
ImageMagick delegates

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 5 Nov 2018 20:59:01 UTC

Severity: wishlist

Tags: fixed

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> linkov.net>
To: 33282 <at> debbugs.gnu.org
Subject: bug#33282: ImageMagick delegates
Date: Mon, 05 Nov 2018 22:52:47 +0200
WebP is an image format that is gaining popularity,
but currently can't be displayed by image-mode.

It's supported by ImageMagick after installing

  sudo apt-get install webp

The command `identify -list delegate` confirms that:

  webp => "dwebp' -pam '%i' -o '%o"

It's possible to work around its missing support by adding to ~/.emacs:

  (add-to-list 'imagemagick-enabled-types 'WEBP)

  (advice-add 'imagemagick-types :around
              (lambda (orig-fun &rest args)
                (append (apply orig-fun args) '(WEBP))))

  (imagemagick-register-types)

So the question is: should `imagemagick-types' return
the delegate list in addition to the current list
of non-delegate image types?




This bug report was last modified 5 years and 322 days ago.

Previous Next


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