git clone https://@opensourceprojects.eu/git/p/timbus/dpes/vframe-comparators timbus-dpes-vframe-comparators



File Date Author Commit
.settings 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
JARS 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
src 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
.classpath 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
.project 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
README.txt 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...
pom.xml 2014-01-07 Carlos Coutinho Carlos Coutinho [c62b38] First Version on Git, synchronised with TIMBUS ...

Read Me

Image: This Project compares two images of identical sizes using ImageMagic libraries
 		and output the differences in the following form.
example usage:java -jar ImgCompare.jar -i test-images\test_image_1.jpg test-images\test_image_2.jpg -o img-outputs -t src

PDF: Compares Two PDF file and produce differences in the form of metadata and visual display.
example usage: java -jar PDFCompare.jar -i test-documents\testword1.pdf test-documents\testword2.pdf -o pdf-outputs -t all


Follow step 1 and 2 if you want build the jar and deploy test the application, otherwise download pre-built jars saved at following svn
location and jump to step 2 for start using it. Sample pdf and image files are also included in the following svn folder.

D:\JavaDevelopement\workspace-eclipse\vframe-comparators\JARS

=================================
1. Building the Project
=================================	
System Requirement
		
1. ECLIPSE IDE
2. Maven Plugin for  Eclipse
3. SVN Plugin for Eclipse

a.Import this project to  Eclipse IDE as Maven Project using following svn check out URL
	svn url : https://timbus.teco.edu/svn/dev/vframe-comparators-intel/trunk/vframe-comparators
b.use Eclipse Export option and select Runnable jar,
c.select ImageMain or PDFMain under Launch Configuration to build two separate jars for image compare and pdf compare
d.select the prefered Export destination
e.select Package required libraries into generated JAR under Library handling options

f.then click finish button.

jar will be saved at export destination you selected.

===================================
2 a. Running Image Comparison Jar
===================================
System Requirement
1. Java Runtime 1.6 or above
2. ImageMagic software installed find below url to import and install if required.
	http://www.imagemagick.org/script/binary-releases.php
3. make sure ImageMagic lib are added to Environment variable path (by default installation adds to PATH)

go to command line and type as follow
 java -jar <ImgComapre.jar> <options>

use command line help to see the available options.
 
output of the comparison result will be saved at result url

===================================
2 b. Running PDF Comparison Jar
===================================
System Requirement
1. Java Runtime 1.6 or above
2. To use visual pdf compare option following project from github should be compiled and 
   installed as instruction provided in the project readme.txt
    https://github.com/vslavik/diff-pdf
4. Windows binaries of  are already included in the JARS folder named ( folder name: diff-pdf-win-bin)
5. make sure PDFCompare.jar and diff-pdf-win-bin folders are in same directory.   

go to command line and type as follow
 java -jar <ImgComapre.jar> <options>

use command line help to see the available options.
 
output of the comparison result will be saved at result url

=================================================================
Comming soon : tex comparison..
=================================================================