Sixel: Difference between revisions

Line 6: Line 6:
A terminal supports some number of color registers for each sprixel. For <tt>xterm</tt>, this is controlled by the <tt>numColorRegisters</tt> resource (set to a (low) value based off <tt>decTerminalID</tt> if not explicitly provided):
A terminal supports some number of color registers for each sprixel. For <tt>xterm</tt>, this is controlled by the <tt>numColorRegisters</tt> resource (set to a (low) value based off <tt>decTerminalID</tt> if not explicitly provided):
<pre>XTerm*numColorRegisters: 1024</pre>
<pre>XTerm*numColorRegisters: 1024</pre>
Each register is specified with a type ("1" for HSL, "2" for RGB) and three components, each between 0 and 100 inclusive. Assuming 8bpc RGB, every 2.6 bits of component get squashed to 1.


==Support==
==Support==