Replace local PDF images with PNG images.