8000 GitHub - keller-mark/histogram.gl: Create image channel histograms, powered by WebGL
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

keller-mark/histogram.gl

Repository files navigation

npm npm bundle size

histogram.gl

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

Demo: https://keller-mark.github.io/histogram.gl/

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

About

Create image channel histograms, powered by WebGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0