Files
minecraft/from PIL import ImageGrab.py
2024-04-06 12:10:11 +02:00

6 lines
243 B
Python

# Just before this line:
# if screenshot.getpixel((x_area - 896, y_area - 139))[:3] == red_x_color:
print(f"Calculated coordinates: ({x_area - 896}, {y_area - 139})")
print(f"Screenshot dimensions: ({screenshot.width}, {screenshot.height})")