Skip to content

Conversation

@mickael-menu
Copy link
Member

Added

Shared

  • Added support for JXL (JPEG XL) bitmap images. JXL is decoded natively on iOS 17+.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for JXL (JPEG XL) bitmap images, which are natively decoded on iOS 17+. The implementation systematically adds JXL support across all relevant components of the format detection and parsing system.

Changes:

  • Added JXL format specification, media type definition, and bitmap classification
  • Integrated JXL into format sniffers for bitmap and comic archive detection
  • Updated image parser to recognize JXL files
  • Added comprehensive test coverage for JXL format detection
  • Fixed duplicate test assertion for TIFF media type
  • Updated CI workflow device configuration (unrelated change)

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CHANGELOG.md Documents JXL support addition with iOS 17+ native decoding note
.github/workflows/checks.yml Changes CI device from "iPhone 17" to "iPad (A16)"
Sources/Shared/Toolkit/Format/Format.swift Adds JXL format specification constant
Sources/Shared/Toolkit/Format/MediaType.swift Adds JXL media type constant and includes it in bitmap classification
Sources/Shared/Toolkit/Format/Sniffers/BitmapFormatSniffer.swift Adds JXL format detection by extension and media type
Sources/Shared/Toolkit/Format/Sniffers/ComicFormatSniffer.swift Includes JXL in comic archive bitmap extensions
Sources/Streamer/Parser/Image/ImageParser.swift Adds JXL to supported bitmap specifications for parsing
Tests/SharedTests/Toolkit/Format/FormatSniffersTests.swift Adds test cases for JXL format sniffing
Tests/SharedTests/Toolkit/Format/MediaTypeTests.swift Adds JXL bitmap test and fixes duplicate TIFF assertion

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mickael-menu mickael-menu merged commit d56f940 into develop Jan 21, 2026
11 of 12 checks passed
@mickael-menu mickael-menu deleted the jxl branch January 21, 2026 15:23
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.

2 participants