As mentioned in https://github.com/raspberrypi/picamera2/issues/473 it's currently not possible to capture snapshots/streams with more than 1920x1920. To prevent users from running into issues due to misconfigured resolution #31 will raise an error in this case.