all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>, 37972@debbugs.gnu.org
Subject: bug#37972: Emacs cannot deal with .webp suffix
Date: Wed, 30 Oct 2019 01:32:08 +0200	[thread overview]
Message-ID: <875zk7f95b.fsf@mail.linkov.net> (raw)
In-Reply-To: <87o8xzz3h2.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 29 Oct 2019 21:44:25 +0100")

>> $ file *
>> X.webp: RIFF (little-endian) data, Web/P image...
>>
>> $ emacs X.webp #binary mess
>> $ ln X.webp X.gif
>> $ emacs X.gif #works fine
>>
>> It doesn't matter what the suffix is: jpg, gif all work the same. Just
>> webp is not recognized yet.

Renaming .webp to .gif displays it, but also spews into stderr:

  Decoded /tmp/magick-6240. Dimensions: 320 x 214 . Format: lossy. Now saving...
  Saved file /tmp/magick-6240

Looks like debug info, should such fprintf be disabled?

Anyway, maybe these messages are less relevant since now we have
image-converter:

> Emacs 27 can display these image formats if you have
>
> (setq image-use-external-converter t)
>
> But this bug report reminded me that we had agreed on defaulting these
> exotic image formats to `image-mode', so I've now done that (as well as
> fixing the UX of being unable to display images slightly).

Thanks.  I tried now to enable image-use-external-converter and visit
a webp image, but it signals an error:

  Cannot display image: (Searching for program No such file or directory gm)

I don't know what this 'gm' is, never used it.  I have only 'convert'
installed.  Is it supported by image-converter?





  reply	other threads:[~2019-10-29 23:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-28 17:54 bug#37972: Emacs cannot deal with .webp suffix 積丹尼 Dan Jacobson
2019-10-29 20:44 ` Lars Ingebrigtsen
2019-10-29 23:32   ` Juri Linkov [this message]
2019-10-29 23:54     ` Lars Ingebrigtsen
2019-10-30  0:03       ` Lars Ingebrigtsen
2019-10-30  0:16         ` 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

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

  git send-email \
    --in-reply-to=875zk7f95b.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=37972@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.