Hit a size limit without resizingPassed
earth.jpg is 6MB. Get it under 500KB without changing its dimensions, as small.jpg.
deft image compress earth.jpg --target-size 500KB -o small.jpg
Automatic checks (3)
- max_bytes: file = "small.jpg", bytes = 512000
- image: file = "small.jpg", width = 3000, height = 3002
- image_similar: file = "small.jpg", to = "earth.jpg", max_difference = 6

