I'm experimenting with GetPixel functions (in order to find the fastest) and have this simple part in my script:
Local $iWidth = 150
Local $iHeight = 300
Local $array[$iHeight][$iWidth]
For $i = 1 To $iHeight Step 1
For $j = 1 To $iWidth Step 1
$array[$i-1][$j-1] = PixelGetColor($iHeight-1, $iWidth-1, $Handle)
Next
Next
Trying to get the equivalent using the GDI+ library (more specifically, using the _GDIPlus_BitmapLockBits function) I've got this code:
Global $Handle = WinG