Chapter 7 - calculating pixel size