How to get a screenshot?
Konstantin Kutsevalov via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Sep 21 19:21:16 PDT 2016
On Wednesday, 21 September 2016 at 16:36:32 UTC, Adam D. Ruppe
wrote:
> On Wednesday, 21 September 2016 at 16:33:58 UTC, Konstantin
> Kutsevalov wrote:
>> do anybody know how to get screenshot (for now in Linux only)?
>> May be some library , examples?
>
> simplest might be to just call out to `shellExec("import
> -window root filename.png");` and it will write the file.
Hmm, that's good idea as fast solution. Thank you Adam.
More information about the Digitalmars-d-learn
mailing list