@waveorb/imager
v1.0.1
Published
Waveorb image toolkit
Downloads
123
Readme
Waveorb imager
Image manipulation library for Waveorb.
Installation
npm i @waveorb/imager
Usage
var imager = require('@waveorb/imager')
// Convert file
// Jimp options, use 'auto' for Jimp.AUTO
var config = {
resize: [120, 120],
greyscale: []
}
await imager.convert(files, config)
// Get file info
// Needs exiftool installed
var info = imager.info('path')
Created by Eldøy Projects