mpv master with build scripts on gnu userland
mpv --panscan=1 --pause foo.png
beeing able to use mpv as an image viewer by scrolling with some keybinding
panscan is able to zoom to fit to width or height but it is not possible to scroll
typical picture you would want to zoom and scroll through using mpv

Add to input.conf
KP1 add video-rotate -90
KP2 add video-pan-y -0.01
KP3 add video-rotate +90
KP4 add video-pan-x +0.01
KP5 set video-pan-x 0; set video-pan-y 0; set video-zoom 0
KP6 add video-pan-x -0.01
KP7 add video-zoom -0.01
KP8 add video-pan-y +0.01
KP9 add video-zoom +0.01
Most helpful comment
Add to input.conf