autocrop_selected_layers


Description:

public bool autocrop_selected_layers (Drawable? drawable)

Crop the selected layers based on empty borders of the input drawable

Crop the selected layers of the input this based on empty borders of the input drawable. The input drawable serves as a base for detecting cropping extents (transparency or background color), and is not necessarily among the cropped layers (the current selected layers). With a null input drawable, the image itself will serve as a base for detecting cropping extents.

Parameters:

this

Input image.

drawable

Input drawable.

Returns:

TRUE on success.