1.0.2 • Published 4 years ago

histogram.gl v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago