Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



search pixel on image.bmp

Discussion on search pixel on image.bmp within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
search pixel on image.bmp

I need to know a metod or a simple function/UDF wich i can do a pixelsearch on an image that is in the same folder of the script. How can i do this?
fuso98 is offline  
Thanks
1 User
Old 08/29/2013, 17:20   #2
 
elite*gold: 0
Join Date: Aug 2013
Posts: 321
Received Thanks: 258
When i understand you ..
Code:
#requireadmin
#noTrayIcon
$File = FileSelectFolder ("","","File(*.bmp)")
Run ($File)
$Pixel = PixelSearch (...)
Msgbox (64,"",$Pixel)
Der code hat fehler ..konnte nicht testen q.q also das nur ne kleine Vorlage
Sh1Rum is offline  
Old 08/29/2013, 18:42   #3
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
I need to search it in background while i can do other things on my pc.
fuso98 is offline  
Old 08/29/2013, 19:22   #4
 
butter123's Avatar
 
elite*gold: 95
Join Date: May 2011
Posts: 982
Received Thanks: 189
use gdi plus to read the colors into an array and then search the array for the color
butter123 is offline  
Old 08/29/2013, 19:32   #5
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
I don't know very well how to use gdi. there's some example or other metod?
fuso98 is offline  
Old 08/29/2013, 20:10   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
I think it's better to use ImageSearch here.
alpines is offline  
Old 08/29/2013, 20:18   #7
 
butter123's Avatar
 
elite*gold: 95
Join Date: May 2011
Posts: 982
Received Thanks: 189
if you want to search for an image on the screen then use imagesearch
if you want to search inside a picture for a color then forget what i said before

use gdi to convert a picture into a bmp. then read the file bitwise. on wiki u can find how the bmp is build up. cut of the header and you have the rgb values of each pixel left. now you can search for the color.
butter123 is offline  
Old 09/04/2013, 20:59   #8
 
elite*gold: 0
Join Date: Feb 2008
Posts: 225
Received Thanks: 22
image search works while you're not doing anything on screen. If you want it to search image while you work on other stuff, thats more of a memory automation. If you know how to work with memory automation, it's more accurate depending on what you want to do.
yangc10 is offline  
Old 09/04/2013, 21:11   #9
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
I need to do a bot that work in background. I know how to Pixelsearch on background mode, but now i need help to find an image.bmp into another image.bmp/jpg . I don't know how to do it with memory or GDI+ . But i need that the script do it very fast like or faster the normal imagesearch.dll (i mean like 50-90 ms).
fuso98 is offline  
Closed Thread


Similar Threads Similar Threads
Image search
05/23/2013 - AutoIt - 1 Replies
Wie binde ich bilder in meine exe ein? Ich möchte nämlich nur die exe haben und sie verschicken können, ohne, dass ich die bilder immer beilegen muss. LG Tom
Image search API
11/28/2012 - Web Development - 2 Replies
Heyho, ich wollte mal nachfragen ob wer von euch Dienste / API's kennt womit man Bilder suchen kann? Am besten gratis. Yahoo API - Gibt es nicht mehr Google API - Wird bald mal geschlossen, die neue kostet ab 100 Anfragen Geld Flickr API - Geht zwar, aber die Resultate lassen eher zu wünschen übrig Instagram API - Geht, aber man kann nur nach einen Tag ohne Leerzeichen etc. suchen Pinterest hat z.Z. keine API mehr
[UDF] Autoit Image Search
10/01/2010 - AutoIt - 8 Replies
We dont like racist forum fuc|< you.
[DEMO] SkyBot (Pixel/Image Detection)
09/14/2010 - 12Sky2 Hacks, Bots, Cheats & Exploits - 25 Replies
http://i896.photobucket.com/albums/ac170/skybotgam ing/header.jpg SkyBot has come a long way since it was known as AFK Guy. For those who don't know, SkyBot is not a trainer or a collection of hacks. It is strictly a grinding automation system. What it lacks in the hack department it makes up for greatly in the botting department. Advantages: Doesn't use memory addresses. Cannot be patched away. Cannot be internally detected.



All times are GMT +1. The time now is 06:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.