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

6 comments

  1. [4]
    Wes
    Link
    Sure. I compiled these with gcc. It includes two binaries: cjpegli (encoder) and djpegli (decoder). Download zip via Dropbox. Link will probably expire eventually, when I clean up my files.

    Sure. I compiled these with gcc. It includes two binaries: cjpegli (encoder) and djpegli (decoder).

    Download zip via Dropbox. Link will probably expire eventually, when I clean up my files.

    1 vote
    1. [3]
      Fishtail_Parka
      Link Parent
      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...

      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

      1. [2]
        Wes
        Link Parent
        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.

        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.

  2. DistractionRectangle
    Link
    So what I like to do when trying to build a project is poke around their .github/workflows if they have any. In this case, it looks like they have the build process documented in release.yaml....

    So what I like to do when trying to build a project is poke around their .github/workflows if 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.