Package Exports
- take-colors
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (take-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
take-color
Take Color
v1.1.0
Installation
npm i -S take-color
Usage
var color = require('take-color');
color.fromImage('./test/static/test.png').then( res => {
console.log( res ); // [ [ 'SteelBlue', [ 70, 130, 180 ], '1.00' ] ]
});
color().fromName('Blue', 'blue.jpg').then( () => {
console.log( 'blue file created' );
});
Tests
npm test
Change Log
Created by
Dimitry, 2@ivanoff.org.ua
curl -A cv ivanoff.org.ua