File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ and [https://www.cairographics.org/operators/][2]
41
41
* ` images[].raw.width ` ** [ Number] [ 7 ] ?**
42
42
* ` images[].raw.height ` ** [ Number] [ 7 ] ?**
43
43
* ` images[].raw.channels ` ** [ Number] [ 7 ] ?**
44
+ * ` images[].failOnError ` ** [ boolean] [ 9 ] ** @see [ constructor parameters] [ 10 ] (optional, default ` true ` )
45
+ * ` images[].limitInputPixels ` ** ([ number] [ 7 ] | [ boolean] [ 9 ] )** @see [ constructor parameters] [ 10 ] (optional, default ` 268402689 ` )
44
46
45
47
### Examples
46
48
@@ -61,7 +63,7 @@ sharp('input.png')
61
63
});
62
64
```
63
65
64
- * Throws ** [ Error] [ 10 ] ** Invalid parameters
66
+ * Throws ** [ Error] [ 11 ] ** Invalid parameters
65
67
66
68
Returns ** Sharp**
67
69
@@ -87,4 +89,6 @@ Returns **Sharp**
87
89
88
90
[ 9 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
89
91
90
- [ 10 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
92
+ [ 10 ] : /api-constructor#parameters
93
+
94
+ [ 11 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ const blend = {
89
89
* @param {Number } [images[].raw.width]
90
90
* @param {Number } [images[].raw.height]
91
91
* @param {Number } [images[].raw.channels]
92
+ * @param {boolean } [images[].failOnError=true] - @see {@link /api-constructor#parameters|constructor parameters}
93
+ * @param {number|boolean } [images[].limitInputPixels=268402689] - @see {@link /api-constructor#parameters|constructor parameters}
92
94
* @returns {Sharp }
93
95
* @throws {Error } Invalid parameters
94
96
*/
You can’t perform that action at this time.
0 commit comments