Skip to content

Windows87/quotes-photos-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotes Photo Generator

Generator of Photos with Quotes, made with NodeJS.

How to install

npm install --save quotes-photos-generator

Params

Param Required Default
imageUrl true
color true
quote true
specialWords false []
font false Russo One*
author false ""
path false ./image.png
blur false 0
width false 720
height false 1280
backgroundColorActivate false true

Example Usage

const Generator = require('quotes-photos-generator');
const generator = new Generator();

async function start() {
  await generator.start({
    imageUrl: './mountain.jpg',
    color: '4CAF50',
    quote: "Your limmitation - it's only your imagination",
    specialWords: ['limmitation', 'imagination'],
    author: 'Mountain Quotes',
    path: './my-quote.png',
    blur: 2
  });

  console.log('Well done!');
}

start();

Example Result

Result

Releases

No releases published

Packages

No packages published