The tool will create a timestamped subdirectory within your specified output directory:
my_custom_output/20261202_171728_diff/
Why timestamped directories?
Timestamped directories prevent overwriting previous comparison results, allowing you to maintain a history of test runs. The format is YYYYMMDD_HHMMSS_diff.
usage: pdf_visual_diff.py [-h] [--output OUTPUT] [--threshold THRESHOLD] pdf1 pdf2Compare two PDFs for visual differences.positional arguments: pdf1 Path to the first PDF file. pdf2 Path to the second PDF file.optional arguments: -h, --help show this help message and exit --output OUTPUT Directory to save difference images. --threshold THRESHOLD Similarity threshold for SSIM (0.0 to 1.0).