Ja wie im Titel beschrieben will ich jedes einzelne Pixel von meinem Bildschirm auslesen.(1024*76
Da es ja schwachsinnig wäre 1024*768 mal eine Variable mit PixelGetColor zu definieren wollte ich fragen was für andere Möglichkeiten es noch gibt.
Spontan fällt mir Array ein aber das habe ich immer schon gehasst
Wenn ich dann alle Pixel habe würde ich gerne diese wieder auf den Bildschirm "malen".
[Funktion ausm Autoit Forum]
Spoiler anzeigen
Func SetPixel ($handle, $x, $y, $color)
$dc= DllCall ("user32.dll", "int", "GetDC", "hwnd", $handle)
DllCall ("gdi32.dll", "long", "SetPixel", "long", $dc[0], "long", $x, "long", $y, "long", $color)
DllCall ("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0])
EndFunc
//edit das Problem ist eigentlich nur diese Pixel auszulesen