[magick-users] sub Image Locating

Elia Mazzawi elia.mazzawi at casalemedia.com
Wed May 7 12:20:23 PDT 2008


Hello,

I have 100's of PNG files, that may or may not contain a smaller image 
that I have in another smaller PNG file.
I want to write a program to test if the sub Image exists in the larger 
Image, and at what location if it does.

I think that since these are PNG not JPEGs there is no fuzzy logic 
matching needed.

i've been trying to get the pixels out of both images ( using getPixels 
) and comparing the binary.

but I'm not sure what parameters i should give getPixels(). or if there 
is a better way to do this.

any help is appreciated.

Regards,
Elia


More information about the Magick-users mailing list