Take a screenshot of a program running on a desktop
1. Should be able to take screenshots from several desktops (>100) simultaneously.
2. Desktop resolution may be different.
3. Good performance.
I have several ideas about the implementation:
1. Create one huge virtual display where everything is rendered. Programs which should run on the desktops should be placed in their display regions. Take a huge screenshot and split into regions.
2. Use terminal service to create virtual remote desktop connection. Run program there, take screenshot.
If you have a better suggestion, you are welcome.