[PATCH] MIME: Added avif/avifs types.
ryo.hirafuji at link-u.co.jp
Tue Feb 4 09:19:18 UTC 2020
Thank you for reviewing, Dounin!
Yeah, I know that image/avif or image/avif-sequence are not registered in
IANA list yet,
but image/webp is also not registered in IANA list, isn't it?
WebP and AVIF are similar in some points.
They are both based on Royalty-free Video format, VP8 for WebP and AV1
(based upon VP9) for AVIF.
AVIF is already supported in Windows, and it is planned to support in
Chrome and Firefox in the near future.
So I think it is worth to add "image/avif" to mime.types, if "image/webp"
is worth to be listed in mime.types.
Please tell your opinion!
 A new image format for the Web | WebP | Google Developers
 AV1 Image File Format (AVIF)
 AOMediaCodec/av1-avif Wiki
 960620 - Support AVIF - An open-source project to help move the web
forward. - Monorail
 1443863 - (AVIF) Implement support for AV1 Still Image File Format
2020年2月4日(火) 2:20 Maxim Dounin <mdounin at mdounin.ru>:
> On Mon, Feb 03, 2020 at 04:55:06PM +0900, 平藤燎 wrote:
> > Hello, I added new mime-types, "image/avif" and "image/avif-sequence".
> > Please take a look,
> > # HG changeset patch
> > # User Ryo Hirafuji <ryo.hirafuji at link-u.co.jp>
> > # Date 1580715197 -32400
> > # Mon Feb 03 16:33:17 2020 +0900
> > # Branch mime-avif-avifs
> > # Node ID 28c8371bb45be38623f8ac0e958d14b55600198a
> > # Parent b8a512c6466c3b2f77876edf14061c5d97e6159f
> > MIME: Added avif/avifs types.
> > "avif" is an image format based on AV1, royalty-free video coding format.
> > "avifs" is an image sequence format, that contains multiple avif images
> > like animated gifs.
> > [Reference]
> > avif/avifs: https://aomediacodec.github.io/av1-avif/
> > AV1: https://aomediacodec.github.io/av1-spec/av1-spec.pdf
> > diff -r b8a512c6466c -r 28c8371bb45b conf/mime.types
> > --- a/conf/mime.types Tue Jan 21 16:39:42 2020 +0300
> > +++ b/conf/mime.types Mon Feb 03 16:33:17 2020 +0900
> > @@ -20,6 +20,8 @@
> > image/tiff tif tiff;
> > image/vnd.wap.wbmp wbmp;
> > image/webp webp;
> > + image/avif avif;
> > + image/avif-sequence avifs;
> > image/x-icon ico;
> > image/x-jng jng;
> > image/x-ms-bmp bmp;
> Thank you for the patch.
> Note that nginx doesn't try to maintain all the mime types known,
> but rather tries to supply types generally needed for a web
> server. Particular MIME types don't seem to be widely used,
> and not even registered by IANA.
> If you want to use these types in your configuration, consider
> modifying mime.types locally or extending the existing MIME types
> list using the "types" directive (http://nginx.org/r/types).
>  https://www.iana.org/assignments/media-types
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel