# ASCII-generator **Repository Path**: zhishi/ASCII-generator ## Basic Information - **Project Name**: ASCII-generator - **Description**: https://github.com/vietnh1009/ASCII-generator 镜像,暂时作为合作维护的起点。知乎帖:https://www.zhihu.com/question/4389622860/answer/35811687913 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-11-20 - **Last Updated**: 2024-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 注:此库为 [原库](https://github.com/vietnh1009/ASCII-generator) 镜像,仅作备份历史之用。除了此段说明之外,仓库内容不作任何改动。后续维护和改动将在 [此新仓库](https://gitee.com/zhishi/ASCII-generator-rework) 进行,渊源请见 [此答](https://www.zhihu.com/question/4389622860/answer/35811687913)。 # [PYTHON] ASCII generator ## Introduction Here is my python source code for ASCII generator. With my code: * **Given input image, we could generate ASCII art stored under text format in different languages (.txt)** * **Given input image, we could generate ASCII art stored under image formats in different languages (.png, .jpg, ...). In each format, there are 2 options: Black background and white characters, or vice versa** * **Given input video, we could generate ASCII art stored under video formats in different languages (.avi, .mp4, ...)** * **Video/image outputs could be in grayscale or color format. It is totally up to you** ## Multiple Language Conversion We could generate ASCII art with different alphabets (english, german, french, korean, chinese, japanese, ...). Below are example output:
English
Japanese (Dragon Ball)
German
Korean (Dae Jang-geum)
French
Chinese (Actress)
Spanish
Russian
Colored complex-character ASCII output
White-background simple-character ASCII output
Input image
Simple character ASCII output
Complex character ASCII output
Input image
Colored complex-character ASCII output
White-background simple-character ASCII output
Black-background simple-character ASCII output
White-background complex-character ASCII output
Black-background complex-character ASCII output