replace dpi by ppi