kklouccs
Posts: 12
|
| Posted: 11/10/2007, 3:06 AM |
|
Hi, higher hands,
i want to preload an image in client side, then, by javascript, to check this image whether it is kept unchanged.
The solution is seemed to be:
record the orginal MD5 checksum of the image and send to client side as well, then compare the MD5(preloaded image), in client side, with this original MD5 checksum.
The problem is that MD5 funciton of javascript handles the string parameter, not the image object.
Second solution may be:
first record the every other pixel of the original image and send to client side, then,
check the every other pixel of the preloaded image, compare with that of the original image.
Anyone has information about solving my problem?
Pls advise what direction should i go?
thanks in advance.
kklouccs
|
 |
 |
|