Revert "revert png handling (test)"

This reverts commit 8b165dacfb0af36bd35d6852aed6129f5d4a926e.