This should work, but I haven't tested it. You would set:
ModPagespeedEnableFilters convert_to_webp_lossless;
And you would reference the PNGQuant-optimized pngs in your html:
<img src="foo.quant.png">
Then for browsers supporting only PNG pagespeed would cache extend
that, changing the URL but not the content:\\
<img src="foo.quant.png.pagespeed.ce.HASH.png">
And for browsers supporting WEBP it would additionally transcode the
PNG to WebP-lossless:
<img src="foo.quant.png.pagespeed.ic.HASH.webp">
> --
> You received this message because you are subscribed to the Google Groups
> "mod-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mod-pagespeed-di...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/mod-pagespeed-discuss/c6739c58-422b-41d7-a8b5-1bf9e2c35cb3%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.