Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on sixel. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://anggtwu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://anggtwu.net/e/sixel.e> # or at <http://anggtwu.net/e/sixel.e.html>. # See also <http://anggtwu.net/emacs.html>, # <http://anggtwu.net/.emacs[.html]>, # <http://anggtwu.net/.zshrc[.html]>, # <http://anggtwu.net/escripts.html>, # and <http://anggtwu.net/>. # ####### # «.sixel-experiments» (to "sixel-experiments") https://convertio.co/formats/sixel/ https://pypi.org/project/PySixel/ https://en.wikipedia.org/wiki/Sixel https://news.ycombinator.com/item?id=35132671 Sixel: A terminal bitmap graphics format from the 80s (wikipedia.org) https://news.ycombinator.com/item?id=23427303 Unicode-based scientific plotting for working in the terminal (github.com/evizero) https://news.ycombinator.com/item?id=23438350 I recently found out that XTerm supports sixels natively if ... -ti 340 ... set terminal sixlegd # (find-man "1 xterm") # (find-sh "xterm -help") # (find-sh "xterm -help" "-ti termid") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) xterm -ti 340 & # M-x eev on: cd ~/usrc/sixel-experiments/ cat text-test.sixel img2sixel ~/tmp/greb__carry_my_friends.jpg ##### # # sixel-experiments # 2024mar24 # ##### # «sixel-experiments» (to ".sixel-experiments") # (find-es "eat" "sixel") # https://codeberg.org/coffee/sixel-experiments # (find-git-links "https://codeberg.org/coffee/sixel-experiments" "sixelexps") # (code-c-d "sixelexps" "~/usrc/sixel-experiments/") # (find-sixelexpsfile "") # (find-sixelexpsfile "README.md") # (find-sixelexpsfile "README.md" "libsixel-bin" "img2sixel") # (find-sixelexpsfile "screenshots/") # (find-sh "apt-file search img2sixel") # (find-status "libsixel-bin") # (find-vldifile "libsixel-bin.list") # (find-udfile "libsixel-bin/") # (find-status "libsixel1") # (find-vldifile "libsixel1:amd64.list") # (find-udfile "libsixel1/") # (find-fline "/usr/bin/libsixel-config") # (find-man "1 img2sixel") # (find-man "1 sixel2png") * (require 'eat) * (eepitch-eat) * (eepitch-kill) * (eepitch-eat) cd ~/usrc/sixel-experiments/ cat text-test.sixel awk -f bifur-bitmap.awk awk -f horigraph.awk # awk -f mandelbrot-bitmap.awk awk -f population-bitmap.awk awk -f population.awk bash -f sixkcd.bash # (find-fline "~/tmp/" "greb__carry_my_friends.jpg") img2sixel ~/tmp/greb__carry_my_friends.jpg https://en.wikipedia.org/wiki/Margaret_Sixel Mad Max # Local Variables: # coding: utf-8-unix # End: