I've two images and when I compare them in node-resemble-js I get this output
{
isSameDimensions: false,
dimensionDifference: { width: -66, height: -8622 },
misMatchPercentage: '5.97',
analysisTime: 1653,
getDiffImage: [Function]
}
But when I use the same two images on http://huddle.github.io/Resemble.js/ it tells me
The second image is 97.49% different compared to the first. And they have different dimensions.
Update:
When set page.clipRect to a fixed size the percentage changed completely to just few percents. Resemblejs clips width and height of images to 1200 pixels for performance with node-resemble-js the pixels that exceeded the original image size were treated as similiar
I've two images and when I compare them in
node-resemble-jsI get this outputBut when I use the same two images on http://huddle.github.io/Resemble.js/ it tells me
The second image is 97.49% different compared to the first. And they have different dimensions.
Update:
When set page.clipRect to a fixed size the percentage changed completely to just few percents. Resemblejs clips width and height of images to 1200 pixels for performance with
node-resemble-jsthe pixels that exceeded the original image size were treated as similiar