const pngToMatrix = require('png-to-matrix')
pngToMatrix("path/to/image", (matrix) => {
console.log(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. ] ] }
*/
})
-
Notifications
You must be signed in to change notification settings - Fork 0
Convert Images to Matrices with one simple function
License
SEECOWS/png-to-matrix
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Convert Images to Matrices with one simple function
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published