Sixel rendering issues
- iTerm2 version: Build 3.3.2
- OS version: MacOS 10.14.5
- Config:com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- ReportCellSize reports cell size of 16.0;6.0
- $ printf '\x1bPq"1;1;6;32#0;2;100;50;25#0!6~-!6~-!6~-!6~-!6~-!6B\x1b\\\x1b[42m \x1b[m' should draw 32x6 vertical bar and green cell 16x6
3.$ printf '\x1bPq"1;1;6;33#0;2;100;50;25#0!6~-!6~-!6~-!6~-!6~-!6F\x1b\\\x1b[42m \x1b[m' should draw 33x6 vertical bar and green cell 16x6
- If you try to 2 boxes of 16x6 one is sixel and other is just filled cell $ printf '\x1bPq"1;1;6;16#0;2;100;50;25#0~~~~~~
-#0~~~~~~
-#0NNNNNN$-\x1b\\\x1b[42m \x1bm'
What happened: There are several issues here:
- I don't think sixel images should ever be scaled
- clearly in example
1
drawn sixel cell of size 32x6 is not of a requested size (scaled?) - in second example we just tried to draw 33x6, and it seems to be of a correct size, even though it should be just 1 pixel difference between this one and previous version
- third example insert space after drawn sixel which I think should not happen, plus drawn cell is clearly one pixel higher then reference filled cell.
- enabling GPU rendering makes sixel rendered pictures move
What should have happened: Nothing of the above
Edited by Pavel Aslanov