Current latest version:
https://github.com/apertus-open-source-cinema/misc-tools-utilities/blob/hdmi-raw-2021/raw-via-hdmi/scripts/viewer3.py
Ideas for additions:
- monochrome/color switch
- decimation switch (1:1, 1:2, 1:4, 1:8)
- next/previous buttons to open next/previous image in same folder (also with left/right buttons)
- bayer order switch
- assume resolution from filesize (options are so far: 4096x3072, 4096x2160, 3840x2160)