Skip to content

Transform words into captivating visuals with our GitHub repository! Easily generate quote images.

License

Notifications You must be signed in to change notification settings

trananhtung/create-quote-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Quote Image

Description

This is a simple package to create a quote image from a given text. like this:

Features

  • Random background color

Usage

Install packages:

npm i create-quote-image

Use random color:

const createQuoteImage = require('create-quote-image').default;

const quote = {
  text: 'This is a quote',
  author: 'Me',
}

createQuoteImage(quote, 'path/to/image.png');

Customize color:

const createQuoteImage = require('create-quote-image').default;

const quote = {
  text: 'This is a quote',
  author: 'Me',
}

createQuoteImage(quote, 'path/to/image.png', createQuoteImage.colors[2]);

About

Transform words into captivating visuals with our GitHub repository! Easily generate quote images.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published