histogram.gl

1.0.2 • Public • Published

histogram.gl

yarn add histogram.gl
# or 
npm install histogram.gl --save

Example:

import { createRgbaHistogram, createSingleChannelHistogram } from 'histogram.gl';
 
createRgbaHistogram(imageData, imageWidth, imageHeight)
    .then((histogramData) => {
        console.log(histogramData);
    });
 
createSingleChannelHistogram(channelData, imageWidth, imageHeight)
    .then((histogramData) => {
        console.log(histogramData);
    });

0 dependencies.

Inspired by

Readme

Keywords

none

Package Sidebar

Install

npm i histogram.gl

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

219 kB

Total Files

23

Last publish

Collaborators

  • keller-mark