edit_paste_as_new_image


Description:


[ Version ( since = "2.10" ) ]
public unowned Image edit_paste_as_new_image ()

Paste buffer to a new image.

This procedure pastes a copy of the internal GIMP edit buffer to a new image. The GIMP edit buffer will be empty unless a call was previously made to either edit_cut or edit_copy. This procedure returns the new image or -1 if the edit buffer was empty.

Returns:

The new image.


Namespace: Gimp
Package: gimp-3.0