test on png++ and libpng