This is an simple program to convert a command line to image.
Project description
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
using date:
date | py -m command2img -bt 0 -tf white
using echo:
echo -n "Example echo" | py -m command2img -fs 50 -m 15 -ff ~/Inspiration-Regular.ttf
using cat:
cat README.md | py -m command2img -bc "black" -tf "white"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
command2img-0.3.1.tar.gz
(925.4 kB
view details)
Built Distribution
command2img-0.3.1-py3-none-any.whl
(735.1 kB
view details)
File details
Details for the file command2img-0.3.1.tar.gz
.
File metadata
- Download URL: command2img-0.3.1.tar.gz
- Upload date:
- Size: 925.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db18fd049513a57c033bbfd54ef1e3d48e3fde711cae5c13f570f0f7ef2c10fa |
|
MD5 | dd6fbf51e693b44c72076c5c9745c33a |
|
BLAKE2b-256 | 7ef94995c1d04ecd14806413649aafa2579803304f3d073b1d61a1a7133a98bf |
File details
Details for the file command2img-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: command2img-0.3.1-py3-none-any.whl
- Upload date:
- Size: 735.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03da66a5fe31be9f175048b18995a4e5688198a0507d4298123ac2dbf0a5ea6c |
|
MD5 | 3bc93456264796a47970e2081111f957 |
|
BLAKE2b-256 | 04f9efaeee935e38592881d2d11cb590162f945d30fbfe5137a962dde1dc9fdd |