Fix jp2 and hdr plugin json definition

and add a check that the json files are well-formed

i.e. they have the same number of keys than of mimetypes
This commit is contained in:
Albert Astals Cid
2025-01-24 14:48:09 +00:00
parent 49060026b7
commit f608441b03
3 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{
"Keys": [ "hdr" ],
"Keys": [ "hdr", "hdr" ],
"MimeTypes": [ "image/x-hdr", "image/vnd.radiance" ]
}

View File

@ -1,4 +1,4 @@
{
"Keys": [ "jp2", "j2k", "jpf" ],
"MimeTypes": [ "image/jp2" ]
"MimeTypes": [ "image/jp2", "image/x-jp2-codestream", "image/jpx" ]
}