replace PNGs with PDF