cqimg
v4.1.4
Published
Transform words into captivating visuals with our GitHub repository! Easily generate quote images.
Downloads
15
Maintainers
Readme
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]);