gimp_image_resize << INDEX >> gimp_image_set_active_channel

gimp_image_scale (1995-1996)

NAME
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
TYPENAMEDESCRIPTION
IMAGEimageThe image
INT32new_widthNew image width: 0 < new_width
INT32new_heightNew 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


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>