scaleImage

Creates a new image by resizing an existing image.

Usage

    image2 = scaleImage(image1, width, height);