+1
-2
| // | ||
| //pass colormatch constrictor if you require different options | ||
| //pass colormatch constructor if you require different options | ||
| // | ||
@@ -7,0 +6,0 @@ exports.ColorMatch = ColorMatch; |
+1
-1
@@ -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; |
+1
-1
| { | ||
| "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"] |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package