Ranorex.Imaging.Compare

Class library usage, coding and language questions.
bboyd
Posts: 2
Joined: Fri May 11, 2018 5:10 pm

Ranorex.Imaging.Compare

Post by bboyd » Fri May 11, 2018 5:18 pm

Hi,

I am starting to dabble with the Imaging.Compare function to ... compare images. I am excited about using it to compare output from our product against known good output to make sure there are no changes. The function is simple and I like it, but I would be a tad more useful to me if instead of returning true or false that the two images are within the provided similarity, it returned the similarity.

In other words, do you have an overload in a newer version such as double Ranorex.Imaging.Compare(Bitmap imageA, Bitmap imageB) or can you add one in a future version?

Thank you.

ahoisl
Certified Professional
Certified Professional
Posts: 192
Joined: Fri Sep 07, 2007 8:16 am

Re: Ranorex.Imaging.Compare

Post by ahoisl » Fri May 11, 2018 11:43 pm

There already is an overload returning the similarity, we added that from the very beginning on :D
https://www.ranorex.com/Documentation/R ... pare_1.htm

Regards,
Alex
Ranorex Team

bboyd
Posts: 2
Joined: Fri May 11, 2018 5:10 pm

Re: Ranorex.Imaging.Compare

Post by bboyd » Mon May 14, 2018 4:20 pm

Yeah, I found it 5 minutes after submitting the post, and it was too late to go back and delete it, lol.

Thanks!