test that PNG / JPEG output data are unicode