If you have 1920 pixels numbered from 0, the max will be 1919.
If the coordinate was 1920, then you’d be looking at 1921st pixel.
0 is the first pixel,
1 is the second pixel
1919 is the one thousand nine hundred and twentieth pixel
solved How to get the missing pixel in my window? [closed]