O holy monks,

First, let me say that I am looking for an excuse to use the GIMP and Perl together. I think I may have a work-oriented excuse to do so now (allowing me to be remunerated for my self-enlightenment), but have not been able to find anything about my specific application in several searches, including Grokking the Gimp. Here is what I want to do:

I have used commercial testing software that allows one to compare current screenshots to an archived sample, typically with some kind of XOR to show differences between the archived sample and the current screenshot.

I need to do just such a thing now to check progress on a web page, where the progress bar is a flash animation. It contains both text and graphic elements telling percentage complete. I cannot scrape the text, so I would like to compare the text and graphics to a screenshot.

I don't need a very specific answer, but a pointer in the general direction, say, to particular CPAN library or repository, or some webpage would be great. I would take it from there and post what I find out.


In reply to Using Perl and the GIMP to compare images by sailortailorson

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.