Skip to content
New issue

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

Add JPEG XL (image/jxl) #43

Closed
wants to merge 1 commit into from
Closed

Conversation

jonsneyers
Copy link
Contributor

@jonsneyers jonsneyers commented May 21, 2021

JPEG XL, image/jxl, ISO/IEC 18181.
More information can be found here:


This change is Reviewable

Copy link
Member

@halostatue halostatue left a comment

Choose a reason for hiding this comment

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

image/jxl is not a registered type. ISO-IEC JTC1 has a number of items in image/*, but not jxl: https://www.iana.org/assignments/media-types/media-types.xhtml#image

Name Template Reference
avci image/avci [ISO-IEC_JTC1][David_Singer]
avcs image/avcs [ISO-IEC_JTC1][David_Singer]
heic image/heic [ISO-IEC_JTC1][David_Singer]
heic-sequence image/heic-sequence [ISO-IEC_JTC1][David_Singer]
heif image/heif [ISO-IEC_JTC1][David_Singer]
heif-sequence image/heif-sequence [ISO-IEC_JTC1][David_Singer]
hej2k image/hej2k [ISO-IEC_JTC1][ITU-T]
hsj2 image/hsj2 [ISO-IEC_JTC1][ITU-T]
jph image/jph [ISO-IEC_JTC1][ITU-T]
jphc image/jphc [ISO-IEC_JTC1][ITU-T]
jxr image/jxr [ISO-IEC_JTC1][ITU-T]
jxrA image/jxrA [ISO-IEC_JTC1][ITU-T]
jxrS image/jxrS [ISO-IEC_JTC1][ITU-T]
jxs image/jxs [ISO-IEC_JTC1]
jxsc image/jxsc [ISO-IEC_JTC1]
jxsi image/jxsi [ISO-IEC_JTC1]
jxss image/jxss [ISO-IEC_JTC1]

We can add this, but it should not be marked as registered until it’s on the IANA website.

@halostatue
Copy link
Member

I have, ahem, provisional support for this in mime-types/ruby-mime-types#157 and #45. The way that I’m working with the provisional types makes it difficult to have extended information like extensions, but it means that I won’t have an issue where a type shows up twice (e.g., for image/jxl, once in types/image.yml and once in types/provisional-standard-types.yml). It’s not impossible (types/provisional-standard-types.yml can be edited like anything else, but when a type is removed, the extra data will not automatically carry over).

@halostatue
Copy link
Member

This has been partially supported and merged via the support for provisional types and via 1876f76. Please note that the only thing not included in the provisional types is the extension jxl; this is unavoidable (the information is not currently in the IANA data) and for policy reasons explained in Contributing.md, pull requests to update provisional types with extensions will not be supported. Thanks for your contribution!

@halostatue halostatue closed this Nov 15, 2021
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.

None yet

2 participants