Open Quintessent opened 3 years ago
Implementation could reuse what has been done to introduce the ssim diff lib in #220
So can i make a pull request for this?
This issue is stale because it has been open 30 days with no activity.
@JamesSingleton @anescobar1991 would you be interesting in reviewing/integrating a Pull Request on that topic if @Quintessent and/or I provide a Pull Request to implement an odiff
integration?
This issue is stale because it has been open 30 days with no activity.
odiff support has been referenced in https://github.com/americanexpress/jest-image-snapshot/issues/210#issuecomment-747906665
This issue is stale because it has been open 30 days with no activity.
@Quintessent Are you still interested to make a PR?
From what I see, it should be fairly straight forwards to integrate this:
const { compare } = require("odiff-bin");
const { match, reason } = await compare(
"path/to/first/image.png",
"path/to/second/image.png",
"path/to/diff.png"
);
I am working on a program where we need to run a huge amount of visual tests for big images (full-hd and bigger) and image comparison takes too much time on CI.
Is it possible to use some kind of more performant library like this https://github.com/dmtrKovalenko/odiff with your tool?