Commit 64b00b5c authored by Jehan's avatar Jehan

plug-ins: add the "msf1" brand for HEIF files.

After Dirk Farin had another look in the specs, it turns out that "mif1"
is actually allowed as major brand for HEIF. Also adding "msf1" which is
the equivalent for image sequences.
parent f8dd444e
......@@ -121,9 +121,7 @@ query (void)
gimp_register_file_handler_mime (LOAD_PROC, "image/heif");
gimp_register_file_handler_uri (LOAD_PROC);
/* HEIF is an ISOBMFF format whose "brand" (the value after "ftyp")
* can be of various values. I added the "mif1" brand as I saw some
* HEIF files with this value, and it loaded fine (though it may not
* be valid theoretically, according to libheif developers).
* can be of various values.
* See also: https://gitlab.gnome.org/GNOME/gimp/issues/2209
*/
gimp_register_magic_load_handler (LOAD_PROC,
......@@ -132,7 +130,8 @@ query (void)
"4,string,ftypheic,4,string,ftypheix,"
"4,string,ftyphevc,4,string,ftypheim,"
"4,string,ftypheis,4,string,ftyphevm,"
"4,string,ftyphevs,4,string,ftypmif1");
"4,string,ftyphevs,4,string,ftypmif1,"
"4,string,ftypmsf1");
gimp_install_procedure (SAVE_PROC,
_("Exports HEIF images"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment