From what I understand, jpegtran is included with libjpeg-turbo and it is used when saving an Image with optimize=True
. Jpegoptim uses an identical algorithm as jpegtran, but requires the image to be temporarily saved to disk before it can be optimized, and jpegoptim has the additional ability to compress lossly.
Looking at the mozjpeg repo on Github, there are a lot of references to libjpeg-turbo, and it has way more stars, so my question is how are they related? Is mozjpeg a fork of libjpeg-turbo that does everything and more? I.e., is it possible to disable certain features in mozjpeg and end up with identical performance and results as libjpeg-turbo?