Comment by reacharavindh
3 years ago
Is there any easy shortcut to resizing an image by percentage or fitting to a specific size?
Many a times, a website says "file needs to be no bigger than 2 MB", and I need to scramble with Preview app to resize teh app until it falls below that limit. A cli tool for that action would be very handy.
I typically use https://www.digitalocean.com/community/tutorials/workflow-re...
You can even do bulk cmds with cli on images:
reformats images from webp to png in a directory.
reformats and compresses pngs to be jpg in a directory
You can use ImageMagick's `convert`.
The result will be around 2MB in size (in both directions).