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
portion of the screen
where the mouse was when ButtonRelease-1 was issued. BMP cropping is easy to
accomplish
with perl.

Nonetheless, I will try your recommendation and search for a JPG/GIF
cropping perl module/.

thanks

Dan


On Mon, Nov 23, 2009 at 3:16 PM, Glenn Linderman <[email protected]> wrote:

> 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");
>> $frames{'XX'}->configure( -image => 'image1' );
>>
>> screen.bmp is a screen capture created using PrintScreen and Clipboard.
>>
>
> Could you sidestep this issue by using Tk features to do the screen capture
> in a format it understands?
>
> http://www.perlmonks.org/index.pl?node_id=361299 describes one way, dunno
> if it can be ported to Windows or not.
>
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to