WinPhoto - Online Linux Manual Page
Section : 3pm
Updated : 2020-11-09
Source : Tk804.035
Note : perl/Tk Documentation
NAMETk::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');
DESCRIPTIONThis 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.
AUTHORNick Ing-Simmons <nick@ni−s.u−net.com> 0
Johanes Gumabo
Data Size : 3,893 byte
man-Tk::WinPhoto.3pmBuild : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 12 / 1,208,923
Visitor ID : :
Visitor IP : 3.135.248.144 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 37.751000 x -97.822000 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : :
Provider Province : , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|254|Tk::WinPhoto.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|160|Tk::WinPhoto.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|254|Tk::WinPhoto.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|160|Tk::WinPhoto.3pm|43|'br══─}─══ |'br══─}─══
)