Files
cheatsheet-tldr/tldr/diffimg
2025-10-13 00:20:52 +00:00

14 lines
425 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# diffimg
> Generate an image where each pixel is the difference between corresponding pixels in the 2 source images.
> More information: <https://graphviz.org/pdf/diffimg.1.pdf>.
- Compare two images and output the difference image to the specified file:
`diffimg {{path/to/image1}} {{path/to/image2}} {{path/to/output_image}}`