Zonarius Posted October 17, 2007 Share Posted October 17, 2007 Hi! First of all I'd like to say that AutoIt is a great language. I want to know how I can open a png file a get the color of a specific pixel. I could't find anything in Auto3lib and I also tried gdi32.dll but this didn't help me. Something like this would be nice: GetPixel("Filename", x, y) -Zonarius Link to comment Share on other sites More sharing options...
Zonarius Posted October 17, 2007 Author Share Posted October 17, 2007 No one got an idea? =( Link to comment Share on other sites More sharing options...
Valuater Posted October 17, 2007 Share Posted October 17, 2007 (edited) EDIT; OK, not going to work 8) Edited October 17, 2007 by Valuater Link to comment Share on other sites More sharing options...
weaponx Posted October 17, 2007 Share Posted October 17, 2007 Valuater - That method is no good, since he needs to extract exact pixels relative to the left/top origin of said picture. Link to comment Share on other sites More sharing options...
Zedna Posted October 17, 2007 Share Posted October 17, 2007 Try some helper GUI with picture control on it. Then use GUICtrlSetImage to show your PNG. Then use Auto3Library with GDI+ to get exact pixel from picture control DC. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Valuater Posted October 17, 2007 Share Posted October 17, 2007 This should do the trickhttp://www.autoitscript.com/forum/index.ph...st&p=3570428) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now