Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to prevent file generation if images are same #96

Open
Vlasterx opened this issue Aug 3, 2021 · 0 comments
Open

Option to prevent file generation if images are same #96

Vlasterx opened this issue Aug 3, 2021 · 0 comments

Comments

@Vlasterx
Copy link

Vlasterx commented Aug 3, 2021

Is it possible to implement option which will prevent file generation when images are the same?

Something like generateOnlyIfDifferent:

{
  actualFilename: string;
  expectedFilename: string;
  diffFilename?: string;
  generateOnlyIfDifferent?: boolean; // default true
  generateOnlyDiffFile?: boolean; // default false
  options?: {
    threshold?: number;   // default 0.1
    includeAA?: boolean;  // default false
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant