[File] Magic for JPEG XL (*.jxl) files
Christos Zoulas
christos at zoulas.com
Sun Mar 21 15:05:00 UTC 2021
Added, thanks!
christos
> On Feb 22, 2021, at 2:40 AM, Ian Tester <imroykun at gmail.com> wrote:
>
> The format uses Protocol Buffers to store the headers. So nothing more can be parsed with magic/file?
>
>
>
> diff --git magic/Magdir/jpeg magic/Magdir/jpeg
> index 52c9ad3..4409c1e 100644
> --- magic/Magdir/jpeg
> +++ magic/Magdir/jpeg
> @@ -124,3 +124,14 @@
> >>4 lelong%2 0 JPEG-XR
> !:mime image/jxr
> !:ext jxr
> +
> +# JPEG XL
> +0 string \xff\x0a JPEG XL codestream
> +!:mime image/jxl
> +!:ext jxl
> +
> +# JPEG XL (transcoded JPEG file)
> +0 string \x00\x00\x00\x0cJXL\x20\x0d\x0a\x87\x0a JPEG XL container
> +!:mime image/jxl
> +!:ext jxl
>
>
>
>
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20210321/1b5bae54/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20210321/1b5bae54/attachment.asc>
More information about the File
mailing list