[Made for GameMaker Studio 2]
This extension is for Windows and soon for macOS and Linux.
clipboard_load_pngfile(fname) loads the image pixel data from a png file to clipboard
clipboard_dump_pngfile(fname) dumps a png file from the image pixel data in clipboard
clipboard_has_imgdata() returns whether the clipboard contains valid image pixel data
You may use sprite_add(...) to add the png dumped from clipboard as a sprite resource
The DLL's full source code included.
Known bug: doesn't support black and white images.