pdf-visual-compare
Version:
Visual regression testing library for PDFs in Js/Ts without binary and OS dependencies.
9 lines (8 loc) • 319 B
TypeScript
import type { PdfToPngOptions } from 'pdf-to-png-converter';
import type { ExcludedPageArea } from './ExcludedPageArea.js';
export type ComparePdfOptions = {
diffsOutputFolder?: string;
pdfToPngConvertOptions?: PdfToPngOptions;
excludedAreas?: readonly ExcludedPageArea[];
compareThreshold?: number;
};