cowboy Posted June 9, 2012 Share Posted June 9, 2012 Hi Simple questions again Ok now I need to finde something on my picture . What should I use instead of image search ?? And finaly I would like to slice It. And save it . Link to comment Share on other sites More sharing options...
JohnOne Posted June 9, 2012 Share Posted June 9, 2012 PixelSearch GDI Those questions are so simple they are beyond vague. For decent help, please pose decent questions. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
cowboy Posted June 9, 2012 Author Share Posted June 9, 2012 Ok I have a full desktop screen picture 1600 x 900 and I would like to cut the Skype / 1500,250,1364,718/ from the pic and save It and set It as a background. Link to comment Share on other sites More sharing options...
JohnOne Posted June 9, 2012 Share Posted June 9, 2012 This thread will show you how to do something very similarshould get what you want from it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
cowboy Posted June 9, 2012 Author Share Posted June 9, 2012 Ok Thats what I need. Thank You Link to comment Share on other sites More sharing options...
PhoenixXL Posted June 10, 2012 Share Posted June 10, 2012 (edited) Ok now I need to finde something on my picture .If its a image you may try "GdipBitmapGetPixel" Here is the Code of the Function Someelse COded this (im not remembering) ; #FUNCTION# ==================================================================================================================== ; Name...........: _GDIPlus_BitmapGetPixel ; Description ...: Gets the color of a specified pixel in this bitmap ; Syntax.........: _GDIPlus_BitmapGetPixel($hBitmap, $iX, $iY) ; Parameters ....: $hBitmap - Pointer to the Bitmap object ; $iX - The X coordinate of the pixel ; $iY - The Y coordinate of the pixel ; Return values .: Success - Returns the pixel color of the bitmap ; Failure - 0 and either: ; |@error and @extended are set if DllCall failed ; |$GDIP_STATUS contains a non zero value specifying the error code ; Remarks .......: None ; Related .......: _GDIPlus_BitmapSetPixel ; Link ..........; @@MsdnLink@@ GdipBitmapGetPixel ; Example .......; Yes ; =============================================================================================================================== Func _GDIPlus_BitmapGetPixel($hBitmap, $iX, $iY) Local $aResult = DllCall($ghGDIPDll, "uint", "GdipBitmapGetPixel", "hwnd", $hBitmap, "int", $iX, "int", $iY, "uint*", 0) If @error Then Return SetError(@error, @extended, 0) $GDIP_STATUS = $aResult[0] Return $aResult[4] EndFunc ;==>_GDIPlus_BitmapGetPixel Edited June 10, 2012 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. 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