06-06-2020, 01:50 PM
I have been unable to discover a way for a script to paste from the clipboard (clipboard image created by "PrtScr" key). I can obviously use the edit>paste option to do it manually (which works), but the procedure in a script using "gimp-edit-paste-as-new-image" does not return an image. I realise that the procedure notes state
"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 'gimp-edit-cut' or 'gimp-edit-copy'. This procedure returns the new image or -1 if the edit buffer was empty."
and the clipboard is not mentioned (whereas it is in pasting brushes and patterns).
I have not been able to find anything on this after many hours of searching.
My question is "Is it possible in TinyScheme/ScriptFu?"
"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 'gimp-edit-cut' or 'gimp-edit-copy'. This procedure returns the new image or -1 if the edit buffer was empty."
and the clipboard is not mentioned (whereas it is in pasting brushes and patterns).
I have not been able to find anything on this after many hours of searching.
My question is "Is it possible in TinyScheme/ScriptFu?"