I use the command to find the difference between the below 2 images
https://photos.app.goo.gl/HzrdYycdhgbBacZ19
https://photos.app.goo.gl/9ckbkprJwezqDCJM7
Code: Select all
Compare -compose src c:\black1.png c:\black2.png c:\black_diff.png
https://photos.app.goo.gl/UwNqWWgN3cXWQNjL7
and I want to convert that output image with difference only to be txt file for data processing by the below 2 commands.
output file size very large...
Code: Select all
convert c:\black_diff.png -transparent "#CCCCCC" sparse-color: c:\a.txt
Code: Select all
convert c:\black_diff.png -transparent "#CCCCCC" sparse-color: > c:\b.txt