Jump to content
Sign in to follow this  
Mason

C++ Help : Pixel Detection

Recommended Posts

Mason

I have been searching around google, and most of the things I have found on the subject are about collision detection for game programming. I am attempting to do in C++ what AutoIt's PixelFind function does. I have found nothing to get me started though. Preferably I want to do it somewhat low level, without having to use the windows API or a graphics library like DirectX, BUT if it is necesarry I will. Thanks for any input on functions or articles or information you can give me.

Share this post


Link to post
Share on other sites
Fayat

I use pixel search in a dev:

GetPixel() function just return you RGB color code.

Good luck

Share this post


Link to post
Share on other sites
Richard Robertson

GetPixel()? What needs to be imported? What needs to be linked? Is it a class member function? You aren't specific at all there.

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.