Images can be specified either as strings (file name or data: urls) or as Buffer or Uint8Array instances.
To compare using the default options (images must have the same dimensions and be less than 1% different):
For more fine-grained control, specify an object with comparison options, which will matched against the result object from resemble.js with to satisfy semantics:
Unexpected-resemble is licensed under a standard 3-clause BSD license -- see
LICENSE file for details.