Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-12 00:16:39 +00:00
parent b0756d672e
commit 9e6dfc9983
21 changed files with 277 additions and 24 deletions

14
tldr/linux/diffimg Normal file
View File

@@ -0,0 +1,14 @@
---
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}}`