I have to transmit an image from client1 (named as server) to client2 (named as client).
Now, the image to be transmit changed all the time, and I want to trasmit only small pieces of the image which include the changes, so client will be able to replace, and by this to save time and traffic.
Q1.Is their any existed article and or algorithm?
I come with the following Idea, but need help:
-
save the last images sent
-
Each time the image changed, do XOR between saved and new one, then send the changes
Q2. Is their are any fast/existed API in windows that can provide the image XOR?
You can check out the protocol used by VNC. Especially the linked papers.
You could also send the draw-commands directly to the client instead of the generated image, but that depends on your use-case.