ImageGen is built for output quality and rendering speed, rather than every last ounce of optimization of the generated filesize. Unfortunately that means PNGs can be larger when resized than the original (optimized) image.
One thing you can do that will help some with pngs... after ImageGen creates the PNGs and saves them to the 'cached' folder you can schedule a task to run PNGcrush or a similar utility to smash them even more than ImageGen does. It'll save some kB's and every bit helps.
PNG file size and PageSpeed Insights
I have uploaded an optimized PNG file, which is 685px x 718px, and size is 215KB.
Testing the page on PageSpeed Insights results in a 97 score.
I use ImageGen to load the file, set the dimensions to 663px x 695px. The generated PNG file is 751kb.
With ImageGen, the Insights score went down to 95 because PageSpeed reports that the image file can still losslessy compressed.
My questions are:
It defeats the purpose that the generated file is larger than the original, which in this case is 3x as large.
Hoping someone can help, thanks in advance!
Hi, Paul,
ImageGen is built for output quality and rendering speed, rather than every last ounce of optimization of the generated filesize. Unfortunately that means PNGs can be larger when resized than the original (optimized) image.
One thing you can do that will help some with pngs... after ImageGen creates the PNGs and saves them to the 'cached' folder you can schedule a task to run PNGcrush or a similar utility to smash them even more than ImageGen does. It'll save some kB's and every bit helps.
cheers,
doug.
Hi Doug,
Thanks for the information!
Regards, Paul
is working on a reply...