1
vote
Help needed with jpegli please
Hi
Seems we need to compile jpegli from git.
https://github.com/google/jpegli
I'm not able to do this at present.
Maybe a tildean person here is. :-)
I want to experiment and compare results with my installed mozjpeg.
Anybody know where there is a jpegli precompiled?
Something to drop into Linux usr/local/bin.
Or a windows executable to use with wine.
Blogpost... https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html
Sure. I compiled these with gcc. It includes two binaries:
cjpegli(encoder) anddjpegli(decoder).Download zip via Dropbox. Link will probably expire eventually, when I clean up my files.
Hi Wes
Thanks, but it's asking for a shared libjpegli library that I don't have.
:-(
Message says...
cjpegli: error while loading shared libraries:
libjpegli_threads.so.0.12:
cannot open shared object file: No such file or directory
Ah, you're looking for the library, not the binary itself. Okay, I'll have to see if I can build that as well. Hang tight.
A "static" build, I think.
https://github.com/google/jpegli/blob/main/BUILDING.md
Just follow these instructions exactly.
So what I like to do when trying to build a project is poke around their
.github/workflowsif they have any. In this case, it looks like they have the build process documented in release.yaml. Edit: I like to reference the workflows directly because sometimes the written docs aren't up to date with the actual build process.If you need further help distilling this into a local build script, add what platform you're trying to compile for (e.g. distro + version + cpu arch) and one of the other tildren will probably help you before I find the time to take a stab at it.Aaaand they already did.