Click here to get back home

perl PNG image searching

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
perl PNG image searching elie 05-06-2008
Posted by Josef Moellers on May 8, 2008, 7:31 am
Please log in for more thread options
elie wrote:
> Hello,
>
> so I have some images (all PNG)
>
> I have a small image, ( a checkered box) and other larger images that
> may or may not contain the checkered box small image.
> I want to somehow find out if the small image (the checkered box)
> apprears anywhere in the larger PNG's or not.
>
> any hits would be appreciated.

BTDT, however with a C program (I wanted to find the best fit for series
of screen shots of a game, so I could draw up a map of the game).

If you *must* use Perl, take a look at Image::Magick, more precise the
GetPixels method. I used it to to build an el-cheapo OCR program for
screen shots.

You can mail me for the sources. No problem.

Josef
--
These are my personal views and not those of Fujitsu Siemens Computers!
Josef Möllers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://www.fujitsu-siemens.com/imprint.html

Similar ThreadsPosted
how to simply parse raw image data and output to an image file ? January 3, 2008, 11:19 am
best way to store binary image data in a variable using image magick January 25, 2008, 1:17 am
binary searching in perl October 10, 2006, 2:16 pm
Image processing in perl? September 13, 2007, 11:03 pm
Searching database with perl script June 19, 2006, 2:17 pm
Is it possible to resize or crop JPG image with Perl? August 31, 2005, 8:44 am
Perl grabbing an external image December 15, 2005, 2:36 pm
perl GD Image resolution problem May 5, 2008, 11:28 pm
searching a "text" in word document using perl January 28, 2005, 3:38 pm
How good is PERL at searching ASCII files? December 7, 2006, 10:45 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap