alfred-imagemin
alfred-imagemin copied to clipboard
Adding resize/downscaling option
Hey Ryo!
Thanks for the nice workflow!
It would be really useful if the user could in addition to recompress also choose to downscale the image(s) like this:
Imagemin 640
which would resize the image, using the longest side of the image (width or height) and resize it to the resolution specified, keeping the aspect ratio the same as the original so calculating the other side automatically based on that aspect ratio.
Or, if you want to use cjpeg only, at least have the possibility to scale as a percentage (supported by cjpeg natively) like this:
imagemin 1/2
would downscale it to half the res and so on...
It would be really useful!!!
Cheers Ryo!
Hi! Thanks for the feature request. I'll think about adding it👍