Gimp.Selection.save
function save(image: Gimp.Image): Gimp.Channel {
// Gjs wrapper for gimp_selection_save()
}
Copy the selection mask to a new channel.
This procedure copies the selection mask and stores the content in a new channel. The new channel is automatically inserted into the image's list of channels.
- image
The image.
- Returns
The new channel.