Tk::WinPhoto man page on Kali

Man page or keyword search:  
man Server   9211 pages
apropos Keyword Search (all sections)
Output format
Kali logo
[printable version]

WinPhoto(3pm)		     perl/Tk Documentation		 WinPhoto(3pm)

NAME
       Tk::WinPhoto - Load a Photo image from a window

SYNOPSIS
	 use Tk;
	 use Tk::WinPhoto;

	 my $image = $mw->Photo(-format => 'Window', -data => oct($mw->id));
	 $image->write($path_name, -format => 'BMP|PPM|XPM');

DESCRIPTION
       This is an extension for Tk800.* which will load a Photo image from a
       snapshot of an X window specified by the -data option.

       The window must exist and be visible. Because the code allows you to
       capture windows not owned by Tk it does not attempt to enforce this. If
       you are capturing one of Tk's windows then use "$w->update".

       If window is mapped, but obscured by other windows then what is
       captured is the rectangle the window would occupy. This can be
       considered a feature.  For Tk-owned windows "$w->raise" can used to
       bring window forward.

       Once the Photo is loaded it can be saved using "$image->write(-format
       => ...)" using any of formats which support writing.

AUTHOR
       Nick Ing-Simmons <nick@ni-s.u-net.com>

Tk804.033			  2017-07-22			 WinPhoto(3pm)
[top]

List of man pages available for Kali

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net