New answers tagged

1

This is a minimal version of the commands to give to resize to width 600 height 400 (if greater than that), setting the jpeg quality to 70 (it is a percentage: a smaller number makes for less bytes but less quality). cd /home/shirish/input_directory/ mogrify -path /home/shirish/output_directory/ -monitor -quality 70 -trim -resize '>'600x400 *.jpg ...


0

To convert multiple jpg to webp, using cwebp: find ./ -name "*.jpg" -exec cwebp -q 70 {} -o {}.webp \ Thunar Custom Action: for file in %F; do cwebp "$file" -o "${file%%.*}".webp; done Thunar Custom Action, moving webp images to subfolder: mkdir %d/webp && cd %d; for file in %N; do cwebp "$file" -o "webp/${file%%.*}".webp; done Cwebp's default ...



Top 50 recent answers are included