gimp_image_scale - Scale the image to the specified extents.
SYNOPSIS
gimp_image_scale (image,new_width,new_height)
DESCRIPTION
This procedure scales the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. No bounds checking is currently provided, so don't supply parameters that are out of bounds. All channels within the image are scaled according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
INT32
new_width
New image width: 0 < new_width
INT32
new_height
New image height: 0 < new_height
SOME SYNTAX ALTERNATIVES
$image->scale (new_width,new_height)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis