Understanding image resolution and file output