Hi orgreeno, For macOS you can try ImageOptim (several formats - free), JPEGmini (JPG only), Optimage (several formats).