get-image-data
Advanced tools
Comparing version
{ | ||
"name": "get-image-data", | ||
"version": "2.2.2", | ||
"version": "3.0.0", | ||
"description": "A browser/server utility that extracts RGBA data from images.", | ||
@@ -11,11 +11,15 @@ "main": "index.js", | ||
"dependencies": { | ||
"canvas": "~1.3.5", | ||
"get-image": "~1.0.0" | ||
"get-image": "~2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"canvas": "~1.6.2" | ||
}, | ||
"devDependencies": { | ||
"tape": "~2.1.0", | ||
"testling": "~1.7.1", | ||
"brfs": "~0.0.8" | ||
}, | ||
"scripts": { | ||
"test": "tape ./test/server.js" | ||
"test": "tape ./test/server.js", | ||
"test:browser": "testling -u" | ||
}, | ||
@@ -25,32 +29,9 @@ "testling": { | ||
"browsers": { | ||
"ie": [ | ||
8, | ||
9, | ||
10 | ||
], | ||
"chrome": [ | ||
20, | ||
25, | ||
29 | ||
], | ||
"firefox": [ | ||
4, | ||
19, | ||
24 | ||
], | ||
"safari": [ | ||
5.1, | ||
6 | ||
], | ||
"opera": [ | ||
10, | ||
12, | ||
15 | ||
], | ||
"iphone": [ | ||
6 | ||
], | ||
"android": [ | ||
4.2 | ||
] | ||
"ie": [8, 9, 10], | ||
"chrome": [20, 25, 29], | ||
"firefox": [4, 19, 24], | ||
"safari": [5.1, 6], | ||
"opera": [10, 12, 15], | ||
"iphone": [6], | ||
"android": [4.2] | ||
} | ||
@@ -57,0 +38,0 @@ }, |
# get-image-data | ||
get-image-data is a browser/server utility that extracts RGBA data from images. It also provides the image’s height and width. | ||
[](https://travis-ci.org/michaelrhodes/get-image-data) | ||
[](https://travis-ci.org/michaelrhodes/get-image-data) | ||
@@ -13,3 +13,7 @@ [](https://ci.testling.com/michaelrhodes/get-image-data) | ||
``` | ||
**note: canvas is not installed alongside get-image-data** | ||
get-image-data requires [automattic/node-canvas](https://github.com/automattic/node-canvas) for its server/node variant, however, to avoid browser-only users from having to endure the native compilation process, it needs to be npm installed separately. | ||
## Usage | ||
@@ -16,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
1106060
0.04%44
10%3
50%+ Added
+ Added
- Removed
- Removed
- Removed
Updated