Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

colormatch

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colormatch - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+1
-2
colormatch.js
//
//pass colormatch constrictor if you require different options
//pass colormatch constructor if you require different options
//

@@ -7,0 +6,0 @@ exports.ColorMatch = ColorMatch;

@@ -43,3 +43,3 @@ var spawn = require('child_process').spawn;

if(parts.length >= 2) {
var count = parts[0];
var count = +parts[0];
var rgb = parts[1];

@@ -46,0 +46,0 @@ totalPixels += count;

{
"name": "colormatch"
, "description": "A module for extracting colors from images and for generating lookup ranges that accept rgb and outputs ranges of rgb values for db lookups. Right now it uses ImageMagik in a child process to reduce the colorspace and return the top colors of an image. Alterntives with node-canvas or an all js jpeg decoder could be used. The latterwith the same js color quantization algorthims that would be needed to reduce the colorspace of the former."
, "version": "0.0.1"
, "version": "0.0.2"
, "author": "Ryan Day <soldair@gmail.com>"

@@ -6,0 +6,0 @@ , "keywords": ["image", "indexing", "color", "search"]