Compare result text file size is huge
Posted: 2018-07-15T23:36:03-07:00
Hi all,
I am new to ImageMagicK
I use the below command to compare 2 pdf files and generate the difference to the text file.
but the output text file size is very large, sometimes over 200m bytes.
I look into the text file, the text file not only contain the differences, but the pixels with no difference.
I think this is the reason why the output file size is so large...
is it possible that the output text file with difference only, or any other smart way using ImageMagicK to compare 2 pdf to text file??
thanks a lot in advance!!!
I am new to ImageMagicK
I use the below command to compare 2 pdf files and generate the difference to the text file.
Code: Select all
convert c:\QG1.pdf null: c:\QG2.pdf -compose Difference -layers composite c:\diff.txt
I look into the text file, the text file not only contain the differences, but the pixels with no difference.
I think this is the reason why the output file size is so large...
is it possible that the output text file with difference only, or any other smart way using ImageMagicK to compare 2 pdf to text file??
thanks a lot in advance!!!