Code-in: Transform Images, GIFs, and Videos into ASCII Art
This project provides a suite of tools to convert images, GIFs, and videos into stunning ASCII art. Whether you want to add custom logos, handle various formats, or export results in multiple ways, this toolkit has you covered!
Features
Image to ASCII Art Conversion
Converts images or GIFs into ASCII art.
Processes each frame of a GIF into ASCII art PNGs.
Reassembles frames into ASCII-styled GIFs.
Customizable font sizes, character spacing, and output dimensions.
Video to ASCII Art Conversion
Transforms videos into ASCII art sequences. Exports results as MP4 videos with synchronized audio.
Add Logo to GIFs
Overlays a logo onto GIF frames while maintaining transparency and alignment. Saves the output as a new GIF.
Add Logo to PNGs with Background
Adds a black background to PNGs and overlays a logo in the bottom-right corner. Outputs results as PNG files.
Installation
Install the required Python libraries:
pip install
pillow
moviepy
tqdm
natsort
Fonts:
Ensure a compatible font file (e.g., Arial) is accessible on your system. Update the script paths as necessary.
Notes
Output settings, such as font size, spacing, and colors, can be customized within each script. Ensure all input files (GIFs, videos, logos) are placed in the appropriate directories.
Contributing
Feel free to modify or enhance these scripts! Contributions are always welcome.
You can now copy and paste this directly into your GitHub README.md file! Let me know if you’d like any additional changes. ;)