adds support for compression level for pngs