mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
510 B
Plaintext
15 lines
510 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|