Skip to content

Huge difference between node-resemble-js and core resemblejs #22

@maurycyg

Description

@maurycyg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions