1.3.0 • Published 3 years ago

aquarelle v1.3.0

Weekly downloads
18
License
MIT
Repository
github
Last release
3 years ago

Aquarelle

npm

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

Example thumbnails

npm.io . npm.io . npm.io . npm.io . npm.io . npm.io

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

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

6 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

9 years ago

0.0.0

9 years ago