Rather than saving it to a file, copy it to the clipboard and then retrieve it from there using Win32::ClipBoard:
sub grabWindowRegion { my $cb = new Win32::ClipBoard; my $ds = new Win32::GuiTest::DibSect; $ds->CopyClient(shift,[@_]); $ds->ToClipboard(); my $image = Win32::Clipboard::GetBitmap(); return parseBMP( $image ); }
In reply to Re: Win32::GuiTest - Processing screen captures in memory?
by BrowserUk
in thread Win32::GuiTest - Processing screen captures in memory?
by SuicideJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |