Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🖼️Simple Javascript library for analyzing images.

License

Notifications You must be signed in to change notification settings

VamOSGS/image-analyzer

Repository files navigation

Image-analyzer

Install it with node:

npm install image-analyzer --save

or

yarn add image-analyzer --save

or with link

<script src="./https://unpkg.com/image-analyzer@0.1.0/lib/index.js"></script>

Usage

ATTENTION IN THIS VERSION OF PACKAGE IMAGE NEED TO BE LOCAL

import in your js or link in html then use like this

const analyzer = new Analyzer(url);
analyzer
 .analyze()
 .then(colors => {
 // HERE YOU GOT ARRAY OF COLORS(hex)
 console.log(colors);
 })
 .catch(console.error);

WORKING ON PROGRESS...

About

🖼️Simple Javascript library for analyzing images.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /