in reply to compare images

Depends on what you mean by "identical images". If you want to check for copies of the same file, use something like Digest::MD5 or Digest::SHA1 and compare the generated digests (same digest, identical file contents; different digest, different pictures).

If you mean "looks the same but the file's different" (e.g. a PNG that's been converted to a JPG of identical size) that'd be much more difficult (and I can't even think of where to tell you to start looking; although it'd probably involve some sorts of deep Computer Science academic literature).

Replies are listed 'Best First'.
Re^2: compare images
by unobe (Scribe) on Mar 14, 2006 at 06:13 UTC
    In response to the "looks the same but the file's different" part, maybe something like what Simon Cozens hacked up: Image::Seek. I haven't tried it on my photos personally, but it seemed to look work pretty well on his photos.