HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

diffimg — Calculate intersection between two images. Note: The supported extensions are `.png`, `.gif`, `.jpg`

Submitted by: @import:tldr-pages··
0
Viewed 0 times
intersectioncommandimagesbetweentwoclidiffimgcalculate
linux

Problem

How to use the diffimg command: Calculate intersection between two images. Note: The supported extensions are .png, .gif, .jpg, .ps. More information: <https://manned.org/diffimg>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/diffimg

Revisions (0)

No revisions yet.