Hello Buttonzz and welcome to the monastery and to the wonderful world of Perl,

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*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.