whats the tldr of the first post?
png2prg -m petscii screenshot.png
Not sure though if .png should be the input format; most tools do offer a more "native" export format that could be used
x64sc -default -console -warp -limitcycles 100000 -exitscreenshot foo.png -autostartprgmode 1 foo.prg
Are you saying that everything is allright and nothing should be done?