Maximum size jpeg
Posted: 2014-11-03T05:46:09-07:00
When resizing I use the following command:Applying this command results in output files with wildly varying sizes, e.g. 30-250 KB. I want to have output files with a maximum size adjusted to the web server's rigid limit (150KB) by adapting quality values. Doing this by hand is tedious. Can I do this automatically?
Code: Select all
convert -distort resize 800x -strip -quality 70