Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to compare 2 JPG files in code?
Message
From
29/06/2010 12:26:53
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:
01470971
Views:
66
>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.

Thanks for the feedback. A soundex() for images would be nice!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform