Skip to content

Option to prevent file generation if images are same #96

@vsjov

Description

@vsjov

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
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions