You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/composite.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,7 @@ const blend = {
110
110
* @param {number} [images[].input.text.dpi=72] - the resolution (size) at which to render the text. Does not take effect if `height` is specified.
111
111
* @param {boolean} [images[].input.text.rgba=false] - set this to true to enable RGBA output. This is useful for colour emoji rendering, or support for Pango markup features like `<span foreground="red">Red!</span>`.
112
112
* @param {number} [images[].input.text.spacing=0] - text line height in points. Will use the font line height if none is specified.
113
+
* @param {Boolean} [images[].autoOrient=false] - set to true to use EXIF orientation data, if present, to orient the image.
113
114
* @param {String} [images[].blend='over'] - how to blend this image with the image below.
114
115
* @param {String} [images[].gravity='centre'] - gravity at which to place the overlay.
115
116
* @param {Number} [images[].top] - the pixel offset from the top edge.
@@ -136,8 +137,11 @@ function composite (images) {
136
137
throwis.invalidParameterError('image to composite','object',image);
0 commit comments