Author here. Just open sourcing my work for anyone interested.<p>Happy to answer any questions.<p>PS: I haven’t tested this on Windows.<p>Update: Had to shorten the title. Should be:<p>> Brute force image optimization; optimizes the compression using ML based metrics in a trial ’n error sorta manner.<p>Although this is something I developed myself so not really sure how best to concisely describe it.<p>Note that (given the "brute force" part) its gonna be slower than what you may be accustomed to. Although it shouldn’t be more than a few seconds for very high resolution images.