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