
@jimp/utils
Utils for jimp extensions.
Available Methods
isNodePattern
Determines if function was passed an node callback.
throwError
Either throws the error or calls the callback with the error.
scan
Scans through a region of the bitmap, calling a function for each pixel.
scanIterator
It's possible to make an iterator scan with a for ... of
, if you want to break
the scan before it reaches the end, but note, that this iterator has a huge performance implication: