Changeset 101416 in vbox for trunk/src/VBox/ValidationKit/tests/additions
- Timestamp:
- Oct 11, 2023 2:32:28 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 159465
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r101407 r101416 5500 5500 iThreshold = 20 5501 5501 for i in range(0, cPixels, 4) : 5502 iRed = aRGBData[i]5503 iGreen = aRGBData[i + 1]5504 iBlue = aRGBData[i + 2]5502 iRed = int(aRGBData[i]) 5503 iGreen = int(aRGBData[i + 1]) 5504 iBlue = int(aRGBData[i + 2]) 5505 5505 iBright = (3 * iRed + 6 * iGreen + iBlue) / 10 5506 5506 if iThreshold < iBright < 255 - iThreshold :
Note:
See TracChangeset
for help on using the changeset viewer.