Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to compare 2 JPG files in code?
Message
 
À
29/06/2010 11:03:52
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01470953
Message ID:
01470957
Vues:
84
I would suggest that editing the image and saving it (without actually making changes) is actually altering the compression level of the jpg So, in fact, the image has changed.

If it's not actually changing the compression level, then I would guess the jpg header is being modified. Compare the files with a hex editor and then, if that is the case, strip out the header string prior to comparison.

In the end, it sounds like you want more of a soundex() for images? Can't help there. Sorry.
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform