clouduboy / microcanvas-pixeldata

HTML5 imagedata/pixeldata tools for hardware hackers
http://clouduboy.github.io/microcanvas-pixeldata/explorer/
Apache License 2.0
0 stars 1 forks source link

Method to detect if two images are the same, prevent network updates #3

Open flaki opened 9 years ago

flaki commented 9 years ago

Implement Pearson-hash for the images. Generate and store latest hash digest on every image update in the editor.

Send Pearson-hash with the /get so server could detect if image is unchanged, and can avoid sending full response.

flaki commented 9 years ago

Currently checking only on the client side (by comparing PIF).