I installed mozjpeg on my server and tried to get the same compress result like in Squoosh Webinterface with mozjpeg
I compressed an image in Squoosh Webinterface. Original image: testimage_original.jpg (324kb) compressed image: testimage_squoosh_75.jpg(51kb) (75% and compress with mozjpeg)
Test on server: /opt/mozjpeg/bin/jpegtran -copy none -progressive -optimize /var/www/vhosts/testpage.de/httpdocs/test-local/testimage.jpg > /var/www/vhosts/testpage.de/httpdocs/test-local/compressed.jpg
result is only a to 267kb compressed file.
how can i reach a nearly the same compression on my server?
答案 0 :(得分:-1)
/opt/mozjpeg/bin/cjpeg -q 75 xxx.jpg > xxx1.jpg