Gimp.Image.resize
@accepts(Gimp.Image, int, int, int, int)
@returns(bool)
def resize(self, new_width, new_height, offx, offy):
# Python wrapper for gimp_image_resize()
Resize the image to the specified extents.
This procedure resizes 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. All channels within the image are resized according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.
- self
The image.
- new_width
New image width.
- new_height
New image height.
- offx
x offset between upper left corner of old and new images: (new - old).
- offy
y offset between upper left corner of old and new images: (new - old).
- Returns