We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download a JXL ( EG from here )
Run Marcel::MimeType.for Pathname.new('logo.jxl') or Marcel::MimeType.for(File.read('logo.jxl'))
Marcel::MimeType.for Pathname.new('logo.jxl')
Marcel::MimeType.for(File.read('logo.jxl'))
The correct mime type is 'image/jxl'
The mime type 'application/octet-stream' is returned.
irb(main):022> Marcel::MimeType.for Pathname.new('logo.jxl') => "application/octet-stream" Marcel::MimeType.for(File.read('logo.jxl')) => "application/octet-stream"
The text was updated successfully, but these errors were encountered:
It looks like it's in Apache Tika already - I guess the tables just need regenerating and new version pushed?
I've cloned Marcel and created a branch with the updates - happy to create a pull request.
Sorry, something went wrong.
Would love to see this merged
JPEG XL has been supported by many image CDNs and Safari for 18 months. I would appreciate if someone could update the list.
No branches or pull requests
Steps to reproduce
Download a JXL ( EG from here )
Run
Marcel::MimeType.for Pathname.new('logo.jxl')
orMarcel::MimeType.for(File.read('logo.jxl'))
Expected result
The correct mime type is 'image/jxl'
Actual behaviour
The mime type 'application/octet-stream' is returned.
The text was updated successfully, but these errors were encountered: