Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Square pixels

Inspired by "(Almost) square pixels in the terminal", this repo implements a method to draw images directly in the terminal with colors and... square pixels.

It relies on the famous stb single-file public domain libraries for C/C++, and in particular the stb image loader and the stb image resizer to provide basic image manipulation utilities.

Examples

original image

result in the terminal

original image

result in the terminal

These examples can be reproduced by compiling and running the unit tests.

How to build

cmake -S. -Bbuild [-DBUILD_SHARED_LIBS=ON]
cmake --build build
# Optionnaly run the tests/examples
[cmake --build build --target test]

About

Draw images directly in the terminal, with colors and... square pixels.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages