a4 paper pixel size code example Example: Paper size a4 2480 x 3508 pixels at 300 PPI 595 x 842 pixels at 72 PPI