First, I am trying to compress png images using https://pngquant.org/, but I didn't know how to download it on Apache server (Windows). The browser hits an error that pngquant is not installed on server (xampp). How do I do that?
Second, do I have to do this:
$command = "find . -name '*.png' -exec pngquant --ext .png --force 256 {} \;";
shell_exec($command);
after this code here https://pngquant.org/php.html ?
I've never used command line in PHP. Thanks.