image replace for pdf