-
Notifications
You must be signed in to change notification settings - Fork 33
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
JPEG XS Two mime types #52
Comments
There might be more information inside the file itself, I sadly don't have an ISO memebership so can't check the full spec file. I would personally default to just the image. As even most viewers for JPEG XL / AVIF / HEIF only support the still image aspect of them. |
I'll try and find some test files and see if there is an additional fingerprint we could use. Hopefully there will be a nice little byte or two that gives away what inside. 🙂 |
Mmmm.... Looking at a .jxs image (after compiling the reference software) it seems the images at least have a fairly long fingerprint with a few changes depending on the profile used, then at byte 102 we get I imagine that would possibly change as drafts are finalised and such, however, the ISO-21122 should remain fixed as it's the designation for the JPEG XS Standard. EDIT: Get weirder, while .jxs is an image format, it's not the image format that matches the fingerprint.
|
- Adding #52 magic data for JPEG XS (thanks to Andy - NebularNerd) - Adding #57 Multi-part checks with negative offsets (thanks to Andy - NebularNerd) - Fixing #60 encoding warning (thanks to Andy - NebularNerd and Jason R. Coombs) --------- Co-authored-by: Andy <[email protected]>
I was having a look around the various JPEG X* flavours and came across https://en.wikipedia.org/wiki/JPEG_XS which is both a still image and video codec.
Just to be awkward they use the same fingerprint
0xFF10 FF50
for both image and video but then give it two mime typesimage/jxsc
andvideo/jxsv
.What would be the best approach to handle this? Two entries in the .json one for each type? I'm not sure of other formats that would do this but I reckon they are out there.
The text was updated successfully, but these errors were encountered: