| Newsgroups |
gmane.comp.lang.perl.tk |
| Message-ID |
<[email protected]> |
"John" <[email protected]> wrote:
> Is there any finction or method or a way at least,
> that can read the canvas pixels and write them downto
> a file?
You can use Tk::WinPhoto to take a snapshot of a canvas widget (or
any other widget). You get a Tk::Photo object which can be saved
as a normal image file (gif, png ...) or inspected through the data()
method.
Regards,
Slaven
--
__o Slaven Rezic
_`\<,_ slaven <at> rezic <dot> de
__(_)/ (_)____
______________________________________________________________________________
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]