Closed darkwing closed 8 years ago
I've had pngquant turn up better results. I believe ImageOptim uses pngcrush w/ some settings under the hood which isn't always lossless. Do you know?
because there are so many images, a lot of the diffs aren't shown. but of those ones that are shown, I can't discern the difference (at a glance). thanks! will take a closer look in a bit.
Whatever is decided, there is a script in src/images/awoa/_process-images
that I run to convert PNG to JPG, you can update that for future images too.
@darkwing want to update the script? I've used some npm build scripts with good success in the past to automate this. in fact, I introduced one in https://github.com/aframevr/aframe-site/pull/319 - but I have to fix up that PR a bit so it doesn't run the command during development (should be run only during deploys).
Been buried in MozReview work and interviews, working on this now.
I think we should close this in favor of https://github.com/aframevr/aframe-site/pull/319 ; this was meant as a quick win but the other PR is a longer lasting solution.
I was also playing with other utilities and none of their node counterparts was doing as well as the Mac App, so the permanent hexo solution will be better.
I used ImageOptim for lossless image compression. 30MB savings:
Should lighten site load