fixed scale calculation for digital images