semvec/pypi-packages huggingface dataset:
command2img 0.3.1
This is an simple program to convert a command line to image.
License: MIT

# command2img


[![GitHub license](https://img.shields.io/github/license/emanuel-alves/command2img?color=blue)](https://github.com/emanuel-alves/command2img/blob/main/LICENSE)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/command2img?color=blue&label=pypi%20download)](https://pypi.org/project/command2img/)
[![PyPI](https://img.shields.io/pypi/v/command2img?color=blue&label=version)](https://pypi.org/project/command2img/)
## Motivation

This program was developed from the need I had to capture the output of a program as an image to insert into a report.

## Install

To install it, you can use the python package manager:

    pip install command2img

## Update

    pip install --upgrade command2img

## Uninstall 

    pip uninstall command2img

## Examples

### using exa (tree):
    exa --tree --icons | py -m command2img
![tree image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/tree.png)

### using date:
    date | py -m command2img -bt 0 -tf white
![echo image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/date.png)

### using echo:
    echo -n "Example echo" | py -m command2img -fs 50 -m 15 -ff ~/Inspiration-Regular.ttf
![date image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/echo.png)

### using cat:
    cat README.md | py -m command2img -bc "black" -tf "white"
![cat image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/cat.png)