Understanding how image resolution affects print quality