Give the gift of Drupal. All merchandise is 50% off through 2016.
Looks like the documentation for the image_scale function is missing the word "be" in the explination of both the $width and $height paramaters.
the scaling will based only should be
the scaling will be based only