Gimp.Image.resize_to_layers

@accepts(Gimp.Image)
@returns(bool)
def resize_to_layers(self):
    # Python wrapper for gimp_image_resize_to_layers()
  

Resize the image to fit all layers.

This procedure resizes the image to the bounding box of all layers of the image. All channels within the image are resized to the new size; this includes the image selection mask. All layers within the image are repositioned to the new image area.

Since 2.2

self

The image.

Returns