:: krowemoh

Saturday | 05 APR 2025
Posts Links Other About Now

previous
next

Comic Book Viewer using Sixel

2025-03-16

I wrote a program to convert images to sixel using the sixel command line tool.

I then wrote a tool to cycle through sixel images in BASIC. This was a very simple program to simply read in a record of sixel images, display an image and then based on a keypress either go forward or backwards.

The core part of this application had been built by the people writing the sixel tooling in this case the conversion tool and the terminal itself.

All I had to do was wire things up to get what I wanted. There is something really nice about reading manga directly in the terminal. There is a file size increase due to using sixel but I'm fine with paying it.

Playing around with this project is making me want to build out a real reader applciation that works via ttyd. xtermjs supports sixel so this could be a fun little project.