ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Compare two images and retrieve changes
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

haya

7 Posts

Posted - Sep 21 2021 :  04:37:14  Show Profile  Reply
Hello. I want to stream screen from my computer to another via Lan. In order to make stream fast and save traffic I want to send only changed pieces of screen. So how can I compare two screenshots and retrieve only changed pieces to TArray<System.Byte> and then put it into TImageEnView on other computer? Help with code please

xequte

38182 Posts

Posted - Sep 21 2021 :  19:46:12  Show Profile  Reply
Hi

Please try the CompareWith demo:

\Demos\ImageAnalysis\ImagesDiff\ImagesDiff.dpr

It will create a gray-scale bitmap showing the areas that have changed.

https://www.imageen.com/help/TImageEnProc.CompareWith.html



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: