[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

images in Perl/Tk



I try to load images with Perl/Tk but there is message,
"couldn't recognize data in image file "test.jpeg" at /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21"
I've tried different images/pngs/jpgs with same error.
images load OK in other viewers.
Installed tkpng with apt.

Anybody successfully used images with Perl/Tk?
Would Tk::JPEG/Tk::PNG from cpan be happy with the Debian Tk and may possibly help recognise the file format? Or is there some 'pruning' of the images, made with Gimp, needed to work with Tk?

mick


Reply to: