in reply to Re^4: Win32::GuiTest - Processing screen captures in memory?
in thread Win32::GuiTest - Processing screen captures in memory?
If you call the IsBitmap() function, does it recognize the clipboard image on your system?
Yes. I'm using AS1007 64-bit on Vista64. and version 0.55 of Win32::Clipboard:
#! perl -slw use strict; use Win32::Clipboard; my $cb = Win32::Clipboard->new(); print $cb->IsBitmap() ? 'Yes' : 'No'; my $bmp = $cb->GetBitmap; open O, '>:raw', 'junk.bmp' or die $!; print O $bmp; close O; system 'junk.bmp'; __END__ c:\test>clipBMP.pl Yes c:\test>perl -MWin32::Clipboard -E"say $Win32::Clipboard::VERSION" 0.55
I'm putting an image onto the clipbard using Alt-printscreen.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Win32::GuiTest - Processing screen captures in memory?
by SuicideJunkie (Vicar) on Mar 20, 2011 at 14:53 UTC | |
by BrowserUk (Patriarch) on Mar 20, 2011 at 21:45 UTC |