Revert "Png optimization"

This reverts commit 7a0ee7961927bb47d43024a52d81683837e674ec.