Skip to content
translate images, videos and text to Ascii arts easy
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
clear Add files via upload Sep 12, 2019
gen Create a.txt Sep 12, 2019
images-videos Add files via upload Sep 12, 2019
AsciiPy.py Update AsciiPy.py Sep 18, 2019
README.md move requirements into requirements.txt Oct 31, 2019
ascii_image.txt Add files via upload Sep 12, 2019
requirements.txt move requirements into requirements.txt Oct 31, 2019
test.py Add files via upload Sep 12, 2019

README.md

AsciiPy

translate images, videos and text to Ascii arts easy

translate text to asciiart with 400+ different fonts and images, videos from any path or url!

Install

to install you have to clone the repository

$ git clone https://github.com/R4yGM/AsciiPy

Depencies

this tool has dependency, and to install them you have to run

$ pip install -r requirements.txt

Asciify in your python script

to start asciifying in your script you have to import the module

import AsciiPy

Asciify a text in python script

after you have imported the module type:

text = AsciiPy.AsciiText.GenerateText(TEXT, FONT")
text = AsciiPy.AsciiText.GenerateText("Hey", "graffiti")
print(text)

to asciify a text

Asciify a image from url in your python script

after you have imported the module type:

img = AsciiPy.AsciiImage.GenerateFromUrl("https://r4yan.ga/images-videos/python-logo.png")
print(img)

to asciify a image by url

Asciify a image from path in your python script

after you have imported the module type:

img = AsciiPy.AsciiImage.GenerateFromPath("python-logo.png")
print(img)

to asciify a image by url

Asciify a video from path in your python script

after you have imported the module type:

AsciiPy.AsciiImage.VideoFromPath("images-videos/cube.mp4")
#this will automatically prints the video

to asciify a video by path

Asciify a video from url in your python script

after you have imported the module type:

AsciiPy.AsciiImage.VideoFromUrl("https://r4yan.ga/images-videos/cube.mp4")
#this will automatically prints the video

to asciify a video by url

Get list of fonts in python script

after you have imported the module type:

lst = AsciiPy.AsciiText.FontList()
print(lst)

this will print ove 400 different fonts you can use to generate texts

Asciify in Terminal

Asciify a image from url

to asciify a image you have to run

$ py AsciiPy -u [url for your image]

example

$ py AsciiPy -u https://r4yan.ga/images-videos/python-logo.png

Asciify a image from path

to asciify a image from path you have to run

$ py AsciiPy -p [path for your image]

Asciify a text

$ py AsciiPy -t [text] [font]

if you need a font list just type

$ py AsciiPy -f

Asciify a Video from path

$ py AsciiPy -vid-path [path to video]

Asciify a Video from url

$ py AsciiPy -vid-url [url to video]

help

$ py AsciiPy -h

this prints a list of commands with examples

still in development

You can’t perform that action at this time.