Having difficulties using Mozjpeg for JPEG encoding optimizations #58
Replies: 3 comments 6 replies
-
Not an area I've dived into @quentin-bettoum so I can only suggest two things:
|
Beta Was this translation helpful? Give feedback.
-
Very possible. I'd suggest clarify that in the libvips discussion area since this is outside the scope of |
Beta Was this translation helpful? Give feedback.
-
Hi @quentin-bettoum, I checked the commands you shared and it's working for me. Btw I just installed vips from brew, and it uses mozjpeg by default
Which os are you using? we can check and confirm if it is really using
On Linux you can use |
Beta Was this translation helpful? Give feedback.
-
I was looking at the options set in this function
As stated, some of these options (trellis-quant, optimize-scans, quant-table) would only work with
mozjpeg
.As I wanted to see the differences these options would make, I tried to set up
mozjpeg
.At first, I thought it would be a matter of installing it on my system, my package manager even asked me if I wanted to replace
libjpeg-turbo
by the newmozjpeg
library as both of these packages were in conflict. But even after installing it, the parameters mentioned above were still outputing these warningsI also tried using the precompiled
libvips
fromVix
by removing theVIX_COMPILATION_MODE PLATFORM_PROVIDED_LIBVIPS
env variable and rebuilding the deps, but it still outputs the same warnings.The strange thing is, when I install
mozjpeg
, there are differences when I try to encode jpeg image. They definitely have a different output weight and compression, but the parameters are still ignored, so I'm not sure what's happening.Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions