I want to optimize images bulk and i read mozjpeg`s usage , there no have how to work bulk on server.
Could you tell me how to optimize that?
Thank you.
I want to optimize images bulk and i read mozjpeg`s usage , there no have how to work bulk on server.
Could you tell me how to optimize that?
Thank you.
Tested on Ubuntu 16.04 to batch or bulk optimize all jpegs recursively given any folder using mozjpeg pre-compiled binaries. Execute the following commands:
First download and install mozjpeg... For 64bit:
For 32bit:
Then link mozjpeg's jpegtran...
Then download this perl script which will recursively scan for jpegs, optimize with the new jpegtran, and print results.
give the script permissions...
execute script...
Sample Output: