Re: PerlTK's Photo does not accept bmp format

2009-12-02 Thread Angelos Karageorgiou
sorry for butting in so late but, i have used win32::capture and win32::gui::dibitmap to great success , check out project rautor under sourceforge Daniel Burgaud wrote: > Hi > > I was finally able to do what i wanted: Screen Capture using GUITest > then use the BMP data from GetBitmap > into

Re: PerlTK's Photo does not accept bmp format

2009-12-02 Thread Daniel Burgaud
Hi I was finally able to do what i wanted: Screen Capture using GUITest then use the BMP data from GetBitmap into TK. The problem was simply the way GetBitmap produces the BMP data. Below is the routine ShowLocation(Xcoor,Ycoor) which will capture a 120x40 screen centered around (Xcoor,Ycoor) inp

Re: PerlTK's Photo does not accept bmp format

2009-11-23 Thread Daniel Burgaud
Hi Unfortunately, this method was for Linux only.. not for Win32... Fortunately I managed to dig out the bug. It turns out that the BMP produced by Win32::Clipboard::GetBitmap is simply not compatible to TK. The BMP file created by Win32::Clipboard::GetBitmap is not even compatible with MSPhot

Re: PerlTK's Photo does not accept bmp format

2009-11-23 Thread Glenn Linderman
On approximately 11/22/2009 11:48 PM, came the following characters from the keyboard of Daniel Burgaud: > Hi, > > Does TK have image Crop functionality? > > The reason why I wanted to use BMP is it's simple format.. > What I need in my final code is to show in a small "label widget" a > small po

Re: PerlTK's Photo does not accept bmp format

2009-11-22 Thread Daniel Burgaud
>> Hi >> >> >> PerlTK's Photo does not accept bmp format. >> >> $mw->Photo('image1', -file => "screen.bmp" , -format=>"bmp"); >> $frames{'XX'}->configure( -image => 'image1' ); >>

Re: PerlTK's Photo does not accept bmp format

2009-11-22 Thread Glenn Linderman
On approximately 11/22/2009 3:56 AM, came the following characters from the keyboard of Daniel Burgaud: > Hi > > PerlTK's Photo does not accept bmp format. > > $mw->Photo('image1', -file => "screen.bmp" , -format=>"bmp"); > $fram

PerlTK's Photo does not accept bmp format

2009-11-22 Thread Daniel Burgaud
Hi PerlTK's Photo does not accept bmp format. $mw->Photo('image1', -file => "screen.bmp" , -format=>"bmp"); $frames{'XX'}->configure( -image => 'image1' ); screen.bmp is a screen capture created using PrintS