nick black
0576793565
sixel: back out Set Raster Attributes (PR #1384 )
...
Set Raster Attributes allows us to specify the pixel
aspect ratio and the image geometry. Unfortunately, it
has the side effect of filling in all unspecified sixels
with Color Register 0, which we do not want.
4 years ago
Daniel Eklöf
0b89c8943f
sixel: use Set Raster Attributes to configure image size
...
This lets the terminal allocate the image once, instead of dynamically
resizing the image as the sixel data is emitted.
Note that this isn’t limiting the sixel size - if the sixel ends up
being larger than advertised here, the terminal is required to resize
the image to fit the entire sixel (i.e. you cannot use this to crop
the image to something that isn’t a multiple of 6).
4 years ago
Daniel Eklöf
3e8e51525a
sixel: don’t emit DECGNL after the last row
...
Emitting DECGNL is the sixel equivalent of printing ‘\n’, and can
cause the terminal content to scroll.
4 years ago
nick black
e277df390b
sixel: remove obsolete comments
4 years ago
nick black
717562f54e
sixel: binary search, cut another 40% #1380
4 years ago
nick black
76e1f01572
ncls: use NCBLIT_PIXEL
4 years ago
nick black
c0cad0d497
sixel: heap-allocate ctable directly
4 years ago
nick black
f71dbd6413
properly reposition cursor on shutdown in 0 render case
4 years ago
nick black
60ff6a73d6
sliders: simplify, kill compiler warning
4 years ago
nick black
eb87cd4892
banners: drop terminal line, move rgb/size down
...
Cleans up the init banner a bit, and removes the terminal line
printed at the very beginning. Rewrites two loops in
`ncplane_reparent()` to avoid warnings with older gcc #1348 .
4 years ago
nick black
e3ede498b6
sixel: combine ctable/dtable extraction passes, cuts 80% of runtime #1380
4 years ago
nick black
43b3724f07
init banner: punch up RGB signifier
4 years ago
nick black
7b28c68cd5
ncneofetch: prettier RGB signifier
4 years ago
nick black
43937cfb5b
ncneofetch: use NCBLIT_PIXEL #1380
4 years ago
nick black
7b61395ec4
sixel: set egc width properly based off tcache #1380
4 years ago
nick black
3ad8057965
ncdirect: proper scaling for NCBLIT_PIXEL #1380
4 years ago
nick black
7592d0c4a3
rendered mode: properly scale pixel graphics #1380
4 years ago
nick black
2eb3bc1f88
get cell size in pixels, include in banner #1368
4 years ago
nick black
f86b4cdc8c
document terminal TIOCGWINSZ pixel support
4 years ago
nick black
1e77fcc5c5
notcurses_stop: restore nonblocking state #1090
4 years ago
nick black
f09ed74e84
sixel: purge leftover cruft
4 years ago
nick black
647225bee3
sixel: document some stuff, drop memset()
4 years ago
nick black
a9c257465a
keller demo: separate legend lines
4 years ago
nick black
7e451c42d2
eliminate duplicate set_fd_nonblocking()
4 years ago
nick black
a759f9ba0b
keller: always begin at row 1
4 years ago
nick black
1b2aedff67
keller: add pixel iteration #1281
4 years ago
nick black
49c7b6be3f
sixel_blit: dumb quantization algorithm #1378
4 years ago
nick black
3382de37e3
ncdirect_render_frame: single row for NCBLIT_PIXEL #1380
4 years ago
nick black
e0de3c310b
sixel_blit(): drop all use of x/y; we map to a single cell #1380
4 years ago
nick black
69765080e7
ncplayer: start on row 1 for NCBLIT_PIXEL #1380
4 years ago
nick black
4a203ef0a9
direct mode: optimize out redundant SETAF, nice
4 years ago
nick black
dc62ce46f1
sixel_blit: apply sixel RLE #1378
4 years ago
nick black
38e60a3c0a
sixel_blit(): get it working #1378
4 years ago
nick black
03034c4ca0
sixel_data: fix up access in write_sixel_data() #1378
4 years ago
nick black
8fc9b0ff21
sixel_blit: write sixel data out #1378
4 years ago
nick black
cb2e905ccf
sixel: implement extract_data_table() #1378
4 years ago
nick black
93da926e47
sixel: drop all sixelmode from rasterizer #1378
4 years ago
nick black
808fa9226f
sexel_blit: add extract_color_table()
4 years ago
nick black
b846f70e16
extract sixel_blit into sixel.c
4 years ago
nick black
49ce0d1c57
mention SIGCONT along with SIGWINCH
4 years ago
nick black
381b34019a
sixel_blit: correct number of bands #1378
4 years ago
nick black
796e2fe1eb
kill unused param warning in sixel_blitter()
4 years ago
nick black
b8281801d6
raster: don't mix sixel and cup #200
4 years ago
nick black
ea7630692a
sixel_blit: correctly set and match colors #200
4 years ago
nick black
b81b1568b1
simplify signature of term_styles()
4 years ago
nick black
9799ed8175
ncplayer: use NCBLIT_DEFAULT without -b
4 years ago
nick black
0ffbba3365
restore stashed stats for closing banner #1374
4 years ago
nick black
2437e6c89c
ncplayer: handle ctrl-L for redraw
4 years ago
nick black
44826194e7
ncneofetch: eliminate PATH_MAX usage for Hurd #1375
4 years ago
nick black
d4e87b4a35
rename notcurses-direct-pydemo ncdirect-pydemo
4 years ago