Hi Everyone,
I've been trying to pack a gif file with par using :-
pp -o test/pkp.exe gui.pl -M "Tk::DirTree" -a "small.gif"
Once this is done and I try to execute this file 'pkp.exe' it gives
the following error :-
"couldn't recognize image data at Tk/Image.pm line 21.
BEGIN failed--compilation aborted at -e line 835."
The part of my code which is calling this gif file 'small.gif' is:
my $image_data = PAR::read_file('small.gif);
my $im_f = $frame1->Photo( -format => 'gif' , -data => $image_data );
my $im_l = $frame1->Label(
-image => $im_f
);
$im_l->pack(-side => 'top');
Is there another way that I can use a gif file in my GUI ?
-Prashant