aquarelle

1.3.0 • Public • Published

Aquarelle

npm

Aquarelle is a random profile picture generator, based on famous paintings.

Example thumbnails

. . . . .

Installation

npm i aquarelle --save

Usage

const aquarelle = require('aquarelle')
 
const {
  filePath,
  fileName,
  width,
  height,
  top,              // Crop y position 
  left,             // Crop x position
  title,            // Title of the artwork
  year,             // Year of the artwork
  author,           // Author name of the artwork
  originalFilePath, // To display the original artwork (uncropped) if you want to
  originalFileName,
= await aquarelle(128, 128, '/path/to/output/dir')
 
console.log('Profile picture generated!', filePath) // /path/to/output/dir/f8b80502-19c6-4b7e-ad8e-acc1e793b952.png

License

MIT

Package Sidebar

Install

npm i aquarelle

Weekly Downloads

12

Version

1.3.0

License

MIT

Unpacked Size

34.8 MB

Total Files

271

Last publish

Collaborators

  • dherault