Document image shape scale