aboutsummaryrefslogtreecommitdiffstats
path: root/icat.go
AgeCommit message (Collapse)AuthorFilesLines
2026-05-28Change to block24 mode by defaultRose Hogenson1-1/+4
This will have better compatibility, e.g. with tmux. I also added handling for when Xpixel and Ypixel are zero.
2026-05-28Use the sixel packageRose Hogenson1-24/+83
2025-10-08Update import pathRose Hogenson1-5/+16
2025-03-17Add more file formatsRose Hogenson1-0/+4
2025-03-17Improve usageRose Hogenson1-19/+27
2025-03-17Use bilinear scalingRose Hogenson1-1/+1
2025-03-17Print in double resolution using ▀Rose Hogenson1-7/+12
2023-08-31Use one stdout buffer for the whole program.Rose Hogenson1-4/+6
2023-08-31Use bufio for output.Rose Hogenson1-2/+5
This is a lot faster for a large image.
2023-08-31Use the draw package for resizing the image.Rose Hogenson1-4/+5
This allows me to use the approximate bilinear interpolation, which looks a lot better than my brain-dead nearest-neighbor.
2023-08-30Load terminal size once at the beginning.Rose Hogenson1-8/+8
2023-08-30icat: a program to print images in the terminal.Rose Hogenson1-0/+80
Thanks to WizardCoder for implementing the first version of this code. I had to clean it up quite a bit though.