prepare for PNGImage
prepare test viewer