With the completion of #1378, our Sixel encoder seems to be working properly. It's now time to better integrate pixel graphics with the render and raster pipelines, so it's useful in Notcurses as something other than a novelty.
with regards to scaling, currently if i run
./ncplayer -b pixel ../data/worldmap.png -k -q
in a 78x80 xterm, i get no output. if i run instead
./ncplayer -b pixel ../data/worldmap.png -k -q -s none
i get about two empty pages, with the image in the middle, with part of the right chopped off.
stretch, none, et. al. ought work for pixel like they do anything else, and this excess vertical space has got to go. i think the latter comes from creation of a n/6-row plane for n pixels going into the sixel.
With the completion of #1378, our Sixel encoder seems to be working properly. It's now time to better integrate pixel graphics with the render and raster pipelines, so it's useful in Notcurses as something other than a novelty.
cupafter emitting pixel graphics -- i think we're already doing this for rendered modewidthfield correctly (we currently always set it to 1)...though i'm not sure how useful this is,with regards to scaling, currently if i run
./ncplayer -b pixel ../data/worldmap.png -k -qin a 78x80
xterm, i get no output. if i run instead./ncplayer -b pixel ../data/worldmap.png -k -q -s nonei get about two empty pages, with the image in the middle, with part of the right chopped off.
stretch,none, et. al. ought work forpixellike they do anything else, and this excess vertical space has got to go. i think the latter comes from creation of a n/6-row plane for n pixels going into the sixel.