read background dimensions (closes #3)