resizeImage

Overview

Internally, only one function is used to resize all images; however, to facilitate the resizing of images, we have provided you with three methods. Each method will help you specify what measurement is most important (width or height) and whether the image should retain its aspect ratio.

  1. resizeImageFixHeight() [sutil] - Resize image, retaining aspect ratio, based on specified height.
  2. resizeImageFixWidth() [sutil] - Resize image, retaining aspect ratio, based on specified width.
  3. resizeImageFixWidthAndHeight() [sutil] - Resize image to a specified size (will not check aspect ratio).