Installation
The package can be installed via pip
pip install terminal-img
Quick Start
The library is really simple to get started with. Here's is an example of how you display an image
from image import DrawImage
image = DrawImage("image.png")
You can also use a url if you dont have the file locally stored
image = DrawImage.from_url("url")
Methods
image.DrawImage
-
filename
: The name of the file containing the image -
size
(Optional[Tuple]
) : The size of the image to be displayed. Default: 24, 24 -
draw
: Whether to draw on creating an instance or wait for the user to call the function
image.DrawImage.from_url
-
url
: The url of the image -
size
(Optional[Tuple]
) : The size of the image to be displayed. Default: 24, 24 -
draw
: Whether to draw on…