<?xml version="1.0" encoding="windows-1252"?>
<node id="586267" title="Re^2: Comparing images" created="2006-11-27 10:01:57" updated="2006-11-27 05:01:57">
<type id="11">
note</type>
<author id="19316">
jimt</author>
<data>
<field name="doctext">
&lt;p&gt;I might be more concerned about false negative matches, but it depends upon what the OP meant by comparing images. You could upload a jpeg of a dog that gets an MD5sum of 00000 (or whatever). I could upload a png of that same photo and that gets an M5sum of ABDEF. Someone else could come along an upload another jpeg at a slightly different compression setting and get an MD5sum of A188F.&lt;/p&gt;

&lt;p&gt;They're all different files, but they all represent the same image. To try and compensate for that, it'd require a more advanced technique like one of the articles linked to later on here in the thread to actually compare upon how the image actually looks, not merely how it's stored.&lt;/p&gt;

&lt;p&gt;Of course, if you just want to make sure the same file isn't uploaded twice, the md5sum should do just fine.&lt;/p&gt;</field>
<field name="root_node">
586173</field>
<field name="parent_node">
586174</field>
</data>
</node>
