GNU bug report logs - #51296
[PATCH] Add WebP format support

Previous Next

Package: emacs;

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

Date: Tue, 19 Oct 2021 23:29:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add WebP format support
Date: Tue, 19 Oct 2021 16:27:56 -0700
[Message part 1 (text/plain, inline)]
Severity: wishlist

WebP is an image format promoted by Google since 2010 with a promise of
decreased file sizes.  Adoption in web browsers have been slow, but in
2019, Firefox added support for it, and other browsers followed.[1]
Since then, this image format has become increasingly common on the web,
and is reported to be used on 2.5 % of all websites.[2]

I think it's important for Emacs to support it, both to support general
web development and to display images properly in e.g. EWW.  Given that
we no longer promote ImageMagick, I think adding our own support for it
is the way to go.

The attached patch does that, by using libwebp where it is available.[3]

Reviews are welcome, as usual.

Footnotes:
[1]  https://bugzilla.mozilla.org/show_bug.cgi?id=1294490

[2]  https://w3techs.com/technologies/details/im-webp

[3]  https://developers.google.com/speed/webp/download
[0001-Add-WebP-format-support.patch (text/x-diff, attachment)]

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

Previous Next


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