replace .png by .pdf