Skip to content

이미지를 아스키 텍스트로 변환하는 프로그램입니다

License

Notifications You must be signed in to change notification settings

leegeunhyeok/python-ascii-image

Repository files navigation

Image to ASCII

이미지를 아스키 텍스트로 변환하는 프로그램입니다.

의존성 모듈

본 프로그램은 PIL, colorama 라이브러리를 사용합니다.

# PIL 설치
pip install pillow

# colorama
pip install colorama

실행 방법

python ascii.py "이미지 경로" -옵션

흑백모드

# 옵션 생략 시 흑백(-grey)으로 출력됩니다.
python ascii.py "./test-images/test.jpg"

# 위와 같은 결과
python ascii.py "./test-images/test.jpg" -grey

컬러모드

# 컬러 모드로 출력
python ascii.py "./test-images/test.jpg" -color


python ascii.py "./test-images/git.png" -color

정보

About

이미지를 아스키 텍스트로 변환하는 프로그램입니다

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages