1.0.0 • Published 1 year ago

marikovmailbory-sdk v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

marikovmailbory-sdk

marikovmailbory-sdk is a Node.js module that provides functions for working with vibrant colors and image processing.

Installation

To install marikovmailbory-sdk, run: npm install marikovmailbory-sdk

Usage

const vibrantUtils = require('vibrant-utils');

// Extract vibrant colors from an image
vibrantUtils.extractVibrantColors('path/to/image.jpg')
  .then(color => {
    console.log('Vibrant color:', color);
  })
  .catch(err => {
    console.error('Error:', err);
  });

// Resize an image
vibrantUtils.resizeImage('input.jpg', 'output.jpg', 300, 200);