use pngcheck to check for valid PNG data