Bitmap comparison fails!!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bitmap comparison fails!!
Hi, I want to compare two bitmaps and using Picture.Compare method for the same but the result says the two images are not identical while the images look same with a minute pixel difference.
Can anyone suggest how to resolve this problem?
Attached is the bitmaps images.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your images are not 100% equal.
You can play with such settings as Pixel and Color Tolerance >>>
And about factors affecting image comparison >>>
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure ClearType is the same for recording and playback (a real problem if the playback machine is a different machine than the one you recorded on).
(Note: Image comparison should be a last resort because there are too many things that can go wrong)
How to set ClearType on Windows 7:
- Right-click in desktop
- Personalize
- In bottom/Left, Display
- In Top/Left, Adjust ClearType text
On Windows 10:
- Right-click in desktop
- Personalize
- In Top/Left, Find a Setting Box”, type literally, “Adjust ClearType”, but no quotes.
If you are VM'ng, the "Font Smoothing" on the "Experience" tab shown below in attached rdp.png is what turns on "ClearType".
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the suggestion. It worked for me!
