you already got two wise answers by two wise monks.. I'll just some link and suggstions.
Tk.. images.. grid.. exif.. it remember me something I've already done: infact in the past I realized a Tk program to show and pickup among photos that, not being perfect, affront the very same tasks you ask for.
The project was published here at perlmonks: picwoodpecker -- a Tk program to choose and modify your photos and then I also put it at github.
Each picture is examined using Image::ExifTool for example to get the exact rotation to display it better. A little wrapper around exiftool executable is available in the Advanced option pane that let you to clean all unwanted tags or everything exiftool can do and it's lot of things.
Given a directory or an expression to glob pickwoodpecker build up a browsable grid of thumbnails.
Run it and see if you recognize behaviours you are interested in: you are free to take inspiration (aka copy).
I load images using GD module but anything you use you must be aware of possible memory leak (see also this bug).
Infact first version of my program leaked a lot of memory: you must reuse as much as you can image variable and even this is not enough. See Tk photo display: memory never released where i asked how to prevent leaks. Pay attention to my own comments in the code at Re: Tk photo display: memory never released (not leaking solution feeding -data to Tk::Photo)
Current version of my program leaks quite no memory and switching from grid view to photo view release that memory too (anyway i load every thumbnail in memory into a big hash along with size informations and rotation, so the program uses some hundreds Mb of RAM for one thousand of pictures loaded).
When searching here at the monastery remember that kcott it's a neat Tk programmer but we have others too, notably zentara a master geek with Tk, and others good users too like choroba, tybalt89 .. I say the above because you must take inspiration from rigth authors.
If you post some skeletal code you for sure get good advices.
Share your progresses!
L*
In reply to Re: Questions regarding mixing up all the data from Image::ExifTool
by Discipulus
in thread Questions regarding mixing up all the data from Image::ExifTool
by Buttonzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |