tommeke228 Posted January 7, 2009 Share Posted January 7, 2009 Is there a func like Pixel change or something like it ? ive got a green pic and i want it red so pixel search if pixel is green then change to red ~KillaH Link to comment Share on other sites More sharing options...
FireFox Posted January 7, 2009 Share Posted January 7, 2009 @tommeke228 try draw pixel udf Cheers, FireFox. Link to comment Share on other sites More sharing options...
tommeke228 Posted January 7, 2009 Author Share Posted January 7, 2009 @tommeke228try draw pixel udfCheers, FireFox. lets see Link to comment Share on other sites More sharing options...
FireFox Posted January 7, 2009 Share Posted January 7, 2009 (edited) @tommeke228 Little search on example script forum and : pict(300,300) Func drawpix($dc,$x,$y,$color) DllCall ("gdi32.dll", "long", "SetPixel", "long", $dc[0], "long", $x, "long", $y, "long", $color) EndFunc Func pict($x,$y) $dc= DllCall ("user32.dll", "int", "GetDC", "hwnd", "") drawpix($dc,$x,$y,0x000000FF) DllCall ("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0]) EndFunc Cheers, FireFox. Edited January 7, 2009 by FireFox 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