eitan Posted October 24, 2005 Share Posted October 24, 2005 hi i need a script that will load an image and then read a pixels color and return it. i tried using imagesplashon but it didnt work thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 24, 2005 Moderators Share Posted October 24, 2005 Have to say:i tried using imagesplashon but it didnt workI hadn't heard of this function imagesplashon() in autoit? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
t0ddie Posted October 24, 2005 Share Posted October 24, 2005 i think he means "splashimageon" heh Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
eitan Posted October 25, 2005 Author Share Posted October 25, 2005 thanks a lot larry!!i am still having a problem.i am getting the result FFFFFF no matter what image i usecan u help?is their a difference if i use bmp,gif or jpg?thanks againthis loads an image and msgboxs the (RGB) color at 62,82. Link to comment Share on other sites More sharing options...
randall Posted June 21, 2006 Share Posted June 21, 2006 hi, i am going to do some simple image processing.The code does work, thanks a lot!!!If you have trouble:make sure you define the path of the file properly (e.g. 'c:\mypic.bmp')also make sure that the pixel coordinate is not out of the image, otherwise unfortunately, in both cases the program will answer FFFFFF 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