简体   繁体   English

仅使用mozjpeg / jpegtran / jpegoptim调整质量大于80的jpeg图像大小

[英]Resize jpeg images only where the quality >80 using either mozjpeg/jpegtran/jpegoptim

Hi I want to resize jpeg image that were uploaded as optimized, but because of a software error all recoded to 100% jpeg quality. 嗨,我想调整上传为优化图像的jpeg图像的大小,但是由于软件错误,所有图像均重新编码为100%jpeg质量。 (so we upload say 80% quality image and after upload it is 100% quality and the filesize is enormous!) (因此,我们上传的图片质量为80%,上传后的图片质量为100%,文件大小非常大!)

So how can I - 1st find only jpeg images file that have a quality setting > 80 or better quality setting == 100 - and optimize these images only to a quality setting = 80 因此,我如何-1st 找到quality setting > 80或更高quality setting == 100 jpeg图像文件,并且将这些图像优化为quality setting = 80

I appreciate your help 我感谢您的帮助

您可以使用命令“ jpegoptim --all-progressive --strip-com --strip-exif --strip-iptc --strip-xmp -T1 -m80”使用jpegoptim压缩图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM