Transform Your Images into ASCII Easily via Command Line

🚀 Pixcii is an easy-to-use utility written in C++


Transform Your Images into ASCII Easily via Command Line


Pixcii is a simple pixel art editor designed to run directly in the terminal (CLI). Perfect for those who love ASCII art or need a lightweight tool to create minimalist sprites.

🧰 Key Features:

  • Interactive terminal interface
  • Real-time editing with keyboard shortcuts
  • Export to .txt
  • Color support via ANSI escape codes

🛠️ Built with: C++


🚀 Quick Installation:

You’ll need a C++ compiler and CMake installed on your system.

  
git clone https://github.com/ashish0kumar/pixcii  
cd pixcii  
cmake . -B build  
cmake --build build  
mkdir -p ~/.local/bin  
mv build/pixcii ~/.local/bin  
echo 'PATH="${HOME}/.local/bin:${PATH}"' >> ~/.bashrc  
exec $SHELL  

📢 Usage

Example using this image:

Ideally, use images sized 40x40, though pixcii supports the --scale argument for resizing.

C++ logo png

  
pixcii --color -i cpp-logo.png -o output.txt  
cat output.txt  

If there’s no background color, it looks great, but JPG images with black backgrounds will also have their backgrounds ignored.

💡 Useful for prototyping retro art, creating apps, studying terminal manipulation, or making simple assets for ASCII-style games.


For more info, use help:

  
pixcii --help  

Visit the official repository.


cpp cli terminal cppdaily


Share


YouTube channel

Subscribe


Marcos Oliveira

Marcos Oliveira

Software developer
https://github.com/terroo

Related articles