PNG Compression

Silverstripe 4.X

Is there any way to hook into the image class to enable png compression? As optimisedimage is not available for Silverstripe 4 (yet) we are looking for a way to use commandline tools to compress images when creating image manipulations on the fly. Maybe by exchanging the driver and using tempfiles to do compression?

Hi try using a