Skip to content
/ cli Public

Command-line tools to compare and show visual differences.

License

Notifications You must be signed in to change notification settings

pixdif/cli

Repository files navigation

Pixdif Command-Line Interface

Build Status Npm Package

This is a command-line tool aimed to compare visual differences of files and generate test reports.

License

MIT

Installation

npm install @pixdif/cli
npm install @pixdif/png-parser # If you need to compare PNG images.
npm install @pixdif/pdf-parser # If you need to compare PDF documents.
npm install @pixdif/html-reporter # If you need to generate a test report into a web page.

Features

Compare two files.

pixdif cmp <expected> <actual>

Convert a file (e.g. PDF) into multiple PNG images.

pixdif convert <input>

Compare some files in 2 directories.

pixdif diff <expected directory> <actual directory> <file glob pattern>

Start a server to view test reports and update baselines.

pixdif serve

Check more details with --help. It's powered by and documented with yargs.

pixdif --help
pixdif <command> --help

About

Command-line tools to compare and show visual differences.

Resources

License

Stars

Watchers

Forks

Packages

No packages published