Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to compare 2 JPG files in code?
Message
 
To
29/06/2010 11:03:52
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01470953
Message ID:
01470957
Views:
83
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform