diff --git a/docs/api-operation.md b/docs/api-operation.md index 6efae330..711048a9 100644 --- a/docs/api-operation.md +++ b/docs/api-operation.md @@ -263,7 +263,7 @@ Returns **Sharp** ## threshold -Any pixel value greather than or equal to the threshold value will be set to 255, otherwise it will be set to 0. +Any pixel value greater than or equal to the threshold value will be set to 255, otherwise it will be set to 0. ### Parameters diff --git a/lib/operation.js b/lib/operation.js index 61485cd4..46c21986 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -396,7 +396,7 @@ function convolve (kernel) { } /** - * Any pixel value greather than or equal to the threshold value will be set to 255, otherwise it will be set to 0. + * Any pixel value greater than or equal to the threshold value will be set to 255, otherwise it will be set to 0. * @param {number} [threshold=128] - a value in the range 0-255 representing the level at which the threshold will be applied. * @param {Object} [options] * @param {Boolean} [options.greyscale=true] - convert to single channel greyscale.