in reply to Perl/Tk widget for displaying images and thumbnails

The first Module you want to look at is Tk::Photo. There also might be loaders for particular types, for example, Tk::JPEG. At present time, it only supports the following formats: GIF, XBM, XPM, BMP, JPEG, PNG and PPM/PGM.

As for examples, you can check out my nodes: Slide view of pictures for Tk::Photo, and Re: clickable slide show perl for Tk::Thumbnail.

  • Comment on Re: Perl/Tk widget for displaying images and thumbnails

Replies are listed 'Best First'.
Re^2: Perl/Tk widget for displaying images and thumbnails
by biochris (Beadle) on Sep 09, 2005 at 15:58 UTC
    With an experience of !19430! I will take your advice. Thank you so much pg :)

      You should learn to ignore XP - it's quite useless. ;-) For example, just take a look at TheDamian's XP, and compare with pg. Now, pg may indeed be a perl genius. Perhaps a 9 on a scale 1..10. But TheDamian knows more about perl than, well, I think perl does. :-) XP is just a number.

      That said, pg otherwise appears quite knowledgeable about Tk, so take his advice anyway. Do it because he's knowledgeable on the current subject, not because he's got more XP than :insert person:. :-)

        As you realized, I am a new perl monk :( So, thanks for the advice :) Chris
Re^2: Perl/Tk widget for displaying images and thumbnails
by biochris (Beadle) on Sep 12, 2005 at 16:36 UTC
    I tried your "Slide view of pictures" and is really great. I had to make the correction zertara recommended also. However, I have to start the script from a terminal. If I try to open it from another Perl/Tk app, it will open on the first jpeg image, and then it will stop altogether. Any suggestion? Thank you very much Chris