[IMGCMP]:
Command Line To Compare Two Images Pixel By Pixel.
Copyright@Abonsoft Inc.2012
http://www.abonsoft.com

 

[USAGE]:
IMGCMP img1:[drive:][path][imagefilename1] img2:[drive:][path][imagefilename2]
outimg
:[drive:][path][output filename] [outimg1:[drive:][path][output filename1]]
[outimg2:[drive:][path][output filename2]] [img1pos:(x,y)] [img2pos:(x,y)]
[tolerance:[1%-100% or 1-255]] [trans:0-100] [mode:q,w] [email:user email]
[license:licensekey]

 

[How to run examples]

Unzip all files in your folder (For example, "D:\ImageCompareCommandLine").

Then call the command line like below in DOS mode.

If your license key is provied, you can get a detailed comparison result report.

 

[ARGUMENTS]:
[img1]: The full file path of the first image to compare


[img2]: The full file path of the second image to compare


[outimg]: The full file path of the output image of the compare result,
which use black for different pixels and white for same pixels.


[outimg1]: [optional] The full file path of the output image of the compare
result with the darken image 1 as the background


[outimg2]: [optional] The full file path of the output image of the compare
result with the darken image 2 as the background


[img1pos]: [optional] The align point for the image 1. The default position
is (0,0), which means the top-left of image 1


[img2pos]: [optional] The align point for the image 2. The default positi
on is (0,0), which means the top-left of image 2


[trans]: [optional] [scope:0-100] The transparent of the backgournd for
outimg1 and outimg2. The default value is 100 which means no background image.


[mode]: [optional] [scope:q,w] (mode:q) means exit the program after the
comparison.(mode:w) means wait for a key press after the comparison.


[tolerance]: [optional] [scope:1-255 or 1%-100%] The tolerant value when
comparing pixel RGB values in two images. The default value is 1. Percentage
value X% is also accepted.


[reportto]: [optional] Report the comparison result to a txt file. By default,
the comparison result is shown on console directly.


[email]: User's email; Same as the one when use buy the software.


[license]: User's license key. The default value is 'TrailVersion'.


<ini file>: User can write all the arguments in an ini file.

[EXAMPLES]:
Example 1:
imgcmp img1:1.bmp img2:2.bmp outimg:mask.bmp

Example 2:
imgcmp D:\compareSettings.ini

Example 3:
imgcmp img1:"D:\1.bmp" img2:"D:\2.bmp" outimg:"D:\mask.bmp" tolerance:3
reportto:"D:\report.txt"

Example 4:
imgcmp img1:"D:\1.bmp" img2:"D:\2.bmp" outimg:"D:\mask.bmp" tolerance:1%

Example 5:
imgcmp img1:"D:\1.bmp" img2:"D:\2.bmp" outimg:"D:\mask.bmp" outimg1:"D:\1out.bmp"
outimg2:"D:\2out.bmp"

Example 6:
imgcmp img1:"D:\1.bmp" img2:"D:\2.bmp" outimg:"D:\mask.bmp" outimg1:"D:\1out.bmp"
outimg2:"D:\2out.bmp" trans:30 mode:q