Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "immp", | ||
"description": "Image Manipulation Middleware Proxy", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"repository": "garrows/IMMP", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -71,2 +71,8 @@ IMMP: Image Manipulation Middleware Proxy | ||
Crop the source image to the custom shape (source width, height, x, and y). See | ||
[GraphicsMagic crop](http://www.graphicsmagick.org/GraphicsMagick.html#details-crop) | ||
for more information. Non-negative integers only. | ||
`http://localhost:3000/im/?image=test.jpg&sx=100&sy=100&sw=100&sy=100` | ||
If you enable proxy mode, you can proxy images from other services like Amazon S3 | ||
@@ -73,0 +79,0 @@ |
@@ -224,6 +224,7 @@ var async = require('async'), | ||
[ | ||
[0,0,0,0], | ||
['a',0,0,0], | ||
[-1,0,0,0], | ||
['',0,0,0], | ||
[0,0,0,0], // No image | ||
[99999,99999,100,100], // Outside bounds | ||
['a',0,0,0], // Non-numeric | ||
[-1,0,0,0], // Not positive | ||
['',0,0,0], // Not defined | ||
].forEach(function(params){ | ||
@@ -230,0 +231,0 @@ it('should not do a custom crop with ' + params, function (_done) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1011199
553
105