png-to-matrix
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,2 +10,3 @@ const getPixels = require("get-pixels") | ||
var currentObj = {} | ||
Object.keys(pixels.data).forEach((k, i) => { | ||
@@ -12,0 +13,0 @@ if (i > pixels.shape[0] * 4 * (count + 1)) count++ |
{ | ||
"name": "png-to-matrix", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "An image to 2D RGBA matrix conversion module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ # PNG To Matrix | ||
** Returns: | ||
** { 'N Dimensions of X as a numerical key': [ N Dimensions of Y as an array - Each array value has a "r,g,b,a" value. ] } | ||
** [ 'N Dimensions of X as a numerical key': [ N Dimensions of Y as an array - Each array value has a "r,g,b,a" value. ] ] } | ||
*/ | ||
@@ -16,0 +16,0 @@ }) |
9456