Describe the bug
The screenshot naively sizes the window area of interest based on the screen size, but this fails to account for the window limitations of the Raspberry Pi camera (16:9 resolution). If the computer screen is not 16:9 or if there is a rounding error, the screenshot area calculation will capture the wrong part of the screen, e.g. a 1px wide gap on the left and right sides of the area of interest.
Expected behavior
This calculation must be exact to prevent incorrect moon targeting.
Desktop (please complete the following information):
- OS: [e.g. Raspbian]
- Version [e.g. 10 or Buster (check output of
cat /etc/os-release)]
Describe the bug
The screenshot naively sizes the window area of interest based on the screen size, but this fails to account for the window limitations of the Raspberry Pi camera (16:9 resolution). If the computer screen is not 16:9 or if there is a rounding error, the screenshot area calculation will capture the wrong part of the screen, e.g. a 1px wide gap on the left and right sides of the area of interest.
Expected behavior
This calculation must be exact to prevent incorrect moon targeting.
Desktop (please complete the following information):
cat /etc/os-release)]