[PATCH] MIME: Added avif/avifs types.

Ryo Hirafuji ryo.hirafuji at link-u.co.jp
Tue Feb 4 12:41:48 UTC 2020


Thanks for quick response!

OK, I understand.

I will submit this patch again when major browsers support AVIF.

2020年2月4日(火) 21:32 Maxim Dounin <mdounin at mdounin.ru>:

> Hello!
>
> On Tue, Feb 04, 2020 at 06:19:18PM +0900, Ryo Hirafuji wrote:
>
> > 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[1] and AV1
> > (based upon VP9) for AVIF[2].
> >
> > AVIF is already supported in Windows[3], and it is planned to support in
> > Chrome[4] and Firefox[5] 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!
>
> The major difference is that image/webp and video/webm are
> supported by browsers[1][2] and used in the wild, while image/avif
> and image/avif-sequence are not.
>
> As previously suggested, 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).
>
> [1] https://caniuse.com/#feat=webp
> [2] https://caniuse.com/#feat=webm
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20200204/4f842f10/attachment.htm>


More information about the nginx-devel mailing list