FFColorCount doesn't seem to work with exclusion areas, I'm getting the same result for different exclusion area combinations, is it a bug or a feature?
FFSetWnd($wHandle)
FFSnapShot()
For $col = 1 To $Height Step 1
For $row = 1 To $Width Step 1
$currentTileLeft = Round($leftTilePos + ($row-1) *$tilePixelSize,0) + $margin
$currentTileTop = Round($upTilePos + ($col-1) *$tilePixelSize,0) + $margin
$currentTileRight = Round($leftTilePos + $row *$tilePixelSize,0) - $margin
$currentTileBottom = Round($upTilePos + $col*$tilePixelSize,0) - $margin
FFResetExcludedAreas( )
FFAddExcludedArea( 0, 0, @DesktopWidth, $currentTileTop )
FFAddExcludedArea( 0, $currentTileTop, $currentTileLeft, $currentTileBottom )
FFAddExcludedArea( $currentTileRight, $currentTileTop, @DesktopWidth, $currentTileBottom )
FFAddExcludedArea( 0, $currentTileBottom, @DesktopWidth, @DesktopHeight )
$tileValues[$col][$row] = FFColorCount($color,$variation,False)
Next
Next