I am trying to paste the current image from the system clipboard into a new image, just like File -> Create -> From Clipboard
.
Perusing the object browser in the python-fu console, the most promising I could find is:
image = pdb.gimp_edit_paste_as_new_image()
But it returns None
and does not create a new image. Also, its description specifically says it works on the internal GIMP clipboard, not the system clipboard.
The same is true for edit-gimp-paste
- the description is clear about it not being used for the system clipboard.
Does anyone know whether there is another method to get at the system clipboard? Or is it definitely not possible to do that, maybe for security reasons?