I wonder if there is a (preferably cross-platform) method to:
1) Select a region of the current desktop by placing a rectangle over it with the mouse.
2) Copy the part of the desktop within the rectangle as an image to the clipboard.
If so what functions do I need to accomplish the selection and the copy?
I am using Lazarus 2.0.10 and Fpc 3.2.0 on Windows 10 and Ubuntu 18.04.5
