| language: node_js | ||
| node_js: | ||
| - 0.6 | ||
| - 0.8 |
+1
-1
@@ -61,3 +61,3 @@ var spawn = require('child_process').spawn; | ||
| var count = +parts[0]; | ||
| var rgb = parts[1]; | ||
| var rgb = parts[parts.length - 1].substring(4); | ||
| totalPixels += count; | ||
@@ -64,0 +64,0 @@ rows.push({pixels:count,rgb:rgb.replace(/[)(]/g,'').split(',')}); |
+8
-7
| { | ||
| "name": "colormatch" | ||
| "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.3" | ||
| , "version": "0.0.4" | ||
| , "author": "Ryan Day <soldair@gmail.com>" | ||
| , "contributors":["whyohwhyamihere"] | ||
| , "keywords": ["image", "indexing", "color", "search"] | ||
| , "main": "./main.js" | ||
| ,"homepage":"http://github.com/soldair/node-colormatch" | ||
| ,"repository":{ | ||
| "type":"git" | ||
| ,"url":"git://github.com/soldair/node-colormatch.git" | ||
| , "homepage":"http://github.com/soldair/node-colormatch" | ||
| , "repository":{ | ||
| "type":"git" | ||
| , "url":"git://github.com/soldair/node-colormatch.git" | ||
| } | ||
| ,"scripts":{ | ||
| "test":"node ./test/extract.js & node ./test/match.js" | ||
| "test":"node ./test/extract.js && node ./test/match.js" | ||
| } | ||
| ,"engines":{"node":">=0.6.0"} | ||
| } |
+1
-0
@@ -0,1 +1,2 @@ | ||
| [](http://travis-ci.org/soldair/node-colormatch) | ||
@@ -2,0 +3,0 @@ |
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
10179
2.43%10
11.11%62
1.64%