Jump to content
Sign in to follow this  
New2Automation

Bitmap comparison

Recommended Posts

New2Automation

Can any one of you help me in doing bitmap comparison in the sense that

I have a stored image. At run time, I need to fetch a screen shot and compare

this with the stored one. (Similar to bitmap comparison in Winrunner).

Thanks in advance

Share this post


Link to post
Share on other sites
SadBunny

Can any one of you help me in doing bitmap comparison in the sense that

I have a stored image. At run time, I need to fetch a screen shot and compare

this with the stored one. (Similar to bitmap comparison in Winrunner).

Thanks in advance

There are quite some image comparison/OCR DLL's/codecs out there. The better ones are not for free but if you need it for something important then it might be worth your buck. Don't have any experience with any of them so I cannot recommend any, but there should be photoshop forums or something that have lengthy discussions about this. I would say probably Google is your best friend in this case.

Scripting bitmap comparison yourself is hardly a good idea if you plan on using native AutoIt code since it will be slow, so slow. And to make it really good is very difficult. Use a faster compiler language if you want try it, possibly also use open source examples and build out on those.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.