Compress Images
First install imagemagick
Use this command to install. You'll also get the convert binary which is what you'd use.
brew install imagemagickExample Command
convert <image> -quality 30% IMG20220517163515-2.jpgimagemagickUse this command to install. You'll also get the convert binary which is what you'd use.
brew install imagemagickconvert <image> -quality 30% IMG20220517163515-2.jpg