1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/diffimg.md

10 lines
418 B
Markdown
Raw Normal View History

# diffimg
> Calculate intersection between two images.
> Note: the supported extensions are `.png`, `.gif`, `.jpg`, `.ps`.
> More information: <https://manned.org/diffimg>.
- Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images:
`diffimg {{path/to/input_image1.ext}} {{path/to/input_image2.ext}} {{path/to/output_image.ext}}`