imgdiff

  400 downloads
1.4.1 MIT/X Consortium License    
  not rated
Present two images side-by-side for visual comparison

description

download

specifications

changelog

imgdiff is a command-line tool that combines two pictures into a single, larger one, and opens a GUI window (provided by the Python Imaging Library) or an external image viewer.

You could use it with a version control tool, e.g.

bzr diff *.png --using=imgdiff

or

bzr diff *.png --using='imgdiff --eog -H'

Installation:

pip install imgdiff or download it from PyPI.

Usage:

Run imgdiff --help to see this help message:

Usage: imgdiff image1 image2

Compare two images side-by-side

Options:
 -h, --help show this help message and exit
 -o OUTFILE write the combined image to a file
 --viewer=COMMAND use an external image viewer (default: builtin)
 --eog use Eye of Gnome (same as --viewer eog)
 --grace=SECONDS seconds to wait before removing temporary file when
 using an external viewer (default: 1.0)
 -H, --highlight highlight differences (EXPERIMENTAL)
 -S, --smart-highlight
 highlight differences in a smarter way (EXPERIMENTAL)
 --opacity=OPACITY minimum opacity for highlighting (default 64)
 --auto pick orientation automatically (default)
 --lr, --left-right force orientation to left-and-right
 --tb, --top-bottom force orientation to top-and-bottom
 --bgcolor=RGB background color (default: fff)
 --sepcolor=RGB separator line color (default: ccc)
 --spacing=N spacing between images (default: 3 pixels)
 --border=N border around images (default: 0 pixels)
 --selftest run unit tests
READ MORE   
Last updated on August 10th, 2013
3  
imgdiffimgdiffimgdiff

0 User reviews so far.

SUBMIT