Thread TK während der laufzeiit JPGs anzeigen
(4 answers)
Opened by Gast at 2008-01-16 18:23
runterladen mit
![]() Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/usr/bin/perl use strict; use warnings; use Tk; use Tk::Photo; use Tk::JPEG; my $mw = tkinit(); $mw->geometry( '600x845' ); my $image = './proxy.jpg'; my $photo = $mw->Photo( 'test', -height => 845, -width => 600, ); $photo->read( $image ); $mw->Label( -image => $photo )->pack; MainLoop; (ungetestet) Der Rest ist Deine Aufgabe ;-) OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/) -- Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html Perl-Entwicklung: http://perl-services.de/ |