1.1.0 • Published 1 year ago

imageadjust v1.1.0

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

imageadjust

A simple npm package for adjusting image contrast.

Installation

npm install imageadjust

Usage

const adjustContrast = require('imageadjust');

// Example usage with an image element and a contrast value
const imgElement = document.getElementById('yourImageElementId');
const adjustedImage = adjustContrast(imgElement, 50); // Adjust contrast by 50

// `adjustedImage` now contains the modified image as a data URL
1.1.0

1 year ago

1.0.0

1 year ago