Skip to content

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.

License

Notifications You must be signed in to change notification settings

huangssssx/img-video-ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sure! Here's a suggested GitHub repository description for your project:


Img-Video-ASCII

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.

Features

  • 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.

Installation

Install the library via npm:

npm install img-video-ascii

Usage

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');

Contribution

Contributions are welcome! Feel free to open an issue or submit a pull request with improvements or bug fixes.

License

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!

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published