Allow fractions in image size dimensions (5.5in x 6.3cm, etc.)

Fixes #140