On Thu, Jul 11, 2013 at 10:12:22PM +0200, Sven Joachim wrote: > On 2013-07-11 21:33 +0200, Thomas Dickey wrote: > > > On Thu, Jul 11, 2013 at 09:06:33PM +0200, Sven Joachim wrote: > >> On 2013-07-11 04:41 +0200, SATOH Fumiyasu wrote: > >> > >> > Package: xterm > >> > Version: 295-1 > >> > Severity: wishlist > >> > > >> > xterm patch #294 supports sixel graphics. > >> > > >> > Please add --enable-sixel-graphics option to the configure > >> > command-line for enabling sixel graphics. > >> > >> Does this option do anything useful yet? So far I haven't found out, > >> but then again I've heard of sixel graphics for the first time last > >> Saturday… > > > > It can paint a particular format of picture on the window; > > there are few applications which create those pictures. > > The netpbm package contains a converter which I used: > > $ jpegtopnm foo.jpg | ppmquant 256 | ppmtosixel > foo.sixel
hmm - in a quick check, I got a file which does not begin with an escape
sequence.
In visible form:
\302\2200;0;8q"1;1
> In mlterm, I can then simply view the image with "cat foo.sixel", but
> this did not work in xterm.
xterm has to be running as a vt240 or whatever, set using the decTerminalID
resource
or -ti command-line option. Otherwise the control sequences are parsed but
nothing
happens.
> > I've marked it experimental because it's still in development,
> > and have done only limited testing (valgrind while cat'ing test-images).
>
> Could you please send such a test image?
These are the images that Ross Combs provided; he said he had found them by
googling
(I don't know where - all I found was mention of mlterm and tanasinn).
ftp://invisible-island.net/temp/SIXEL.tgz
The biplane one is defective - probably some test-case of Ross's.
The others all display with vt240 level.
--
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature

