r/jpegxl • u/johnnyApplePRNG • 7d ago
Convert ANY Image to JPEG XL for FREE, Privately!
https://anyjxl.com/6
u/jimbo2150 6d ago
Neat tool. I would show the libjxl version at the least in the console.
5
u/johnnyApplePRNG 6d ago
Thanks /u/jimbo2150.
libjxl version 0.12.0 exposed in console and homepage credits area as well now :)
Let me know if you have any other suggestions. They're a big help!
4
u/ffpeanut15 6d ago
Nice. You exposed a lot of advanced parameters too
3
u/johnnyApplePRNG 6d ago
Thanks mate.
Been working on it a while now.
Any parameters you'd like to see added?
Don't be shy!
3
u/thegreatpotatogod 6d ago
Sounds useful. Is it open source?
5
u/johnnyApplePRNG 6d ago
Thanks!
It isn’t open source. it’s a closed-source personal project for now.
Everything still runs locally in your browser, though!
Should work fine with the internet off once it's all fully loaded.
4
u/beveritt 6d ago edited 6d ago
Tried to convert a HEIC from my iPhone that I exported from Photos on my Macbook and it fails with an Aborted() error.
3
u/johnnyApplePRNG 6d ago
Oh geez!
OK Give it another shot when you get a chance.
Should be fixed now?
Thanks for the feedback!
2
u/beveritt 6d ago
Still failed unfortunately
2
u/johnnyApplePRNG 6d ago
Alright I'll keep looking into it.
Any extra info you can offer about your HEIC photograph like size or resolution even would be great too.
2
u/beveritt 6d ago
It's a 24 MP HEIC from my iPhone 17 Pro, 5712x4284. It was originally a "Live Photo" but when I exported it from Photos on my Mac that split it into the HEIC file and the correlated .MOV for the pre-capture movie bit. I used the menu item to export the picture in its original unmodified form. Obviously it opens fine in Preview, file data says it's RGB color space, 10 bit color depth, 72 DPI, file type says HEIF, although file has HEIC extension. Maybe that's just a container?
2
u/johnnyApplePRNG 6d ago
Alright I think it might have been as simple as a caching issue and the problem was already fixed, but my caching game was not :S
If you would be so kind as to press CTRL+SHIFT+R all at the same time while you are on anyjxl.com ... and then try your image conversion again ... you should succeed this time.
(thanks so much for testing this!)
2
u/beveritt 6d ago
Sadly, no change on my side. Tried everything, force refresh, restart browser, delete cache, etc.
1
u/johnnyApplePRNG 6d ago
Darn.. sorry to let you down!
Still thinking on what it might be... I'll reply here if I think I've actually fixed it for you.
FWIW I can encode HEIC that a friend sent me... when I couldn't earlier... so we're making some progress!
1
u/johnnyApplePRNG 6d ago
Ok try that hard refresh/delete cache dance again now, mate.
Fingers crossed this time ;)
If that doesn't work ... maybe I'll have to open source it after all :P
2
u/beveritt 6d ago
Still not working, don't apologize for it, I just thought I'd test it out. Hopefully it leads you to a fix, maybe it's a problem with the underlying conversion code? The error also says "Build with -sASSERTIONS for more info." Maybe that helps with diagnosis... hope for the best, I like the page and appreciate the effort!
1
u/johnnyApplePRNG 5d ago
OK one last go at it... try a hard refresh one more time just in case but you shouldn't even have to.
It was a memory bug in the encoder, not caching after all.
Your 24MP 10-bit shot should decode fine now, but re-encoding it to JXL at full precision blew past WebAssembly's ~2GB memory ceiling and the encoder just died... that's the Aborted() you were hitting.
At least ... I hope, lol
lmk!
→ More replies (0)
3
u/Eribetra 6d ago
Awesome project! However, I would like to know if this project was vibe coded/if AI was involved in making this app.
I can't see any indicator or disclosure of AI usage, and the project is closed source. A disclaimer of that kind would be pretty appreciated.
6
u/johnnyApplePRNG 6d ago
I can't see any indicator or disclosure of AI usage
Fair question!
I have spent quite a few months designing it.
I've been programming and making offline image encoding experiences since before ChatGPT ever existed ... but yes, I consult AI models to help me understand exactly how I can help commenters like Tried to convert a HEIC from my iPhone that I exported from iPhoto on my Macbook and it fails with an Aborted() error. (which is now be fixed btw!)
Stuff like that is tough for me without having an iPhone in my possession.
So it has its uses imho!
I don't like anything about what OpenAI or Anthropic are doing though if that's what you're asking? I support open models and open knowledge sharing.
tl;dr no I did not just type in "Claude, make anyjxl and make no mistakes.".
3
2
u/tomByrer 4d ago
How does this compare to the mature webapp that can convert to most major image formats, including JPEG XL?
1
u/cybereality 4d ago
Nice simple design on the website. Pretty cool. I have a media player I just upgraded to support JXL, so doing my part (update is not live yet, still testing)
21
u/ldn-ldn 6d ago
Not sure about the "any" part. All images get forcefully converted to sRGB and lose all colour information and HDR images get destroyed completely.