Skip to content

fix: detect JPEG XL images - #390

Open
dajiaohuang wants to merge 1 commit into
3rd:masterfrom
dajiaohuang:task/jxl
Open

dajiaohuang wants to merge 1 commit into
3rd:masterfrom
dajiaohuang:task/jxl

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #380.

Add the JPEG XL codestream (FF 0A) and container signatures to magic.detect_format, so JPEG XL files are recognized by magic.is_image instead of being rejected before processing. Cover both signatures with regression tests.

Validation: the focused magic regression harness passed (15 tests). The full Busted suite was not run locally because busted is unavailable; CI is pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Images in JPEG_XL format will not be displayed.

1 participant