Sure! Here's a suggested GitHub repository description for your project:
Img-Video-ASCII is a powerful Node.js library designed to convert images and video frames into stunning ASCII art. Whether you're looking to transform a single picture or extract frames from videos to create dynamic ASCII art sequences, this library offers a simple yet flexible API to achieve your goals.
- Image to ASCII: Easily convert any image file into ASCII art with customizable dimensions and character sets.
- Video to ASCII: Extract frames from video files and turn them into ASCII art, ideal for creating artistic animations.
- Flexible Customization: Adjust the ASCII output settings including character width, height, and complexity.
Install the library via npm:
npm install img-video-ascii
Convert an image to ASCII:
const { imageToAscii } = require('img-video-ascii');
imageToAscii('path/to/image.jpg').then((ascii) => {
console.log(ascii);
});
Convert a video to ASCII:
const { videoToAscii } = require('img-video-ascii');
videoToAscii('path/to/video.mp4', 'output/directory');
Contributions are welcome! Feel free to open an issue or submit a pull request with improvements or bug fixes.
This project is licensed under the MIT License.
Feel free to adjust the content to better fit your project's specifics or additional features you might implement!