mozilla / mozjpeg

Improved JPEG encoder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More a request than issue.

stumbles opened this issue · comments

How about renaming its executables such cjpeg, etc and its pkgconf files such that they do not stomp on those provided by libjpeg-turbo.

This library is libjpeg-turbo. It contains all of libjpeg-turbo's code and is fully compatible with libjpeg-turbo including ABI. From the start it's been designed as a drop-in replacement for libjpeg-turbo. You're supposed to replace/overwrite libjpeg-turbo with it, and not use it as something separate.

BTAIM, no reason to stomp on libjpeg-turbo.

In the end I think it would have been smarter to work with the original libjpeg-turbo authors.

The maintainer of libjpeg-turbo has two priorities: keep it as fast as possible, and not take on extra maintenance burden. Which is incompatible with mozjpeg's goal of adding extra code that focuses on improved compression instead.

But while priorities of the projects are different, on the technical side they're compatible. If you prefer better compression (with an option to switch back to fastest if needed), then this is the version of libjpeg-turbo you should use.