Maxim Dounin
February 03, 2020 12:22PM
Hello!

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@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[1].

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://www.iana.org/assignments/media-types

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] MIME: Added avif/avifs types.

平藤燎 1225 February 03, 2020 02:56AM

Re: [PATCH] MIME: Added avif/avifs types.

Maxim Dounin 491 February 03, 2020 12:22PM

Re: [PATCH] MIME: Added avif/avifs types.

Ryo Hirafuji 1056 February 04, 2020 04:20AM

Re: [PATCH] MIME: Added avif/avifs types.

Maxim Dounin 511 February 04, 2020 07:34AM

Re: [PATCH] MIME: Added avif/avifs types.

Ryo Hirafuji 540 February 04, 2020 07:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 87
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready