Comments (4)
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.
from puremagic.
Added in 1.22 https://github.com/cdgriffith/puremagic/releases/tag/1.22
from puremagic.
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. 🙂
from puremagic.
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 0x49 53 4F 2D 32 31 31 32 32 2D 35 2D 32 2E 30 2E 32 2D 45 44 32
which is ISO-21122-5-2.0.2-ED2
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.
https://www.loc.gov/preservation/digital/formats/fdd/fdd000545.shtml?loclr=blogsig
- .jxs Image
0x0000 000C 4A58 5320 0D0A 870A
- .jxsc Codestreams
0xFF10 FF50
from puremagic.
Related Issues (20)
- Price-matching other repos for more file support HOT 1
- mimetype from stream HOT 1
- Confidence/Selection logic question HOT 2
- Remove unsupported Python stuff HOT 1
- same (mp3) file, different name ... different output: mp3 versus koz HOT 7
- Is it possible to use filehandles / bytestream? HOT 2
- SVG images not recogniced HOT 1
- missing mime type for webp HOT 1
- Webp image mime type is empty HOT 2
- .epub listed as "INI Config file" in magic_data.json HOT 1
- How to handle two sets of bytes for matching improvements? HOT 4
- Adding JPEG-XL Support HOT 2
- Multi-part checks with negative offset for second match HOT 1
- EncodingWarning when PYTHONWARNDEFAULTENCODING HOT 2
- imghdr matches in PureMagic? HOT 4
- Variant field in magic.json?
- Version 2.0 Goals HOT 2
- Speed Improvements HOT 5
- For Python 3.13: A drop-in replacement for `imghdr.what()` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puremagic.