Node.js GM threshold() Function
The threshold() function is an inbuilt function in the GraphicsMagick library which is used to modify the image such that any pixel's intensity value greater than the threshold is assigned the maximum intensity (white), or otherwise is assigned the minimum intensity (black). The function returns the