From 56a279062b6cac1232538905401a10c419025858 Mon Sep 17 00:00:00 2001 From: Wiktor Perskawiec Date: Fri, 11 Oct 2024 19:34:30 +0200 Subject: [PATCH] diffimg: add page (#14105) Co-authored-by: K.B.Dharun Krishna --- pages/linux/diffimg.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pages/linux/diffimg.md diff --git a/pages/linux/diffimg.md b/pages/linux/diffimg.md new file mode 100644 index 000000000..09c73b48b --- /dev/null +++ b/pages/linux/diffimg.md @@ -0,0 +1,9 @@ +# diffimg + +> Calculate intersection between two images. +> Note: the supported extensions are `.png`, `.gif`, `.jpg`, `.ps`. +> More information: . + +- 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}}`