From 2be2713d751679612b1d85bd53035111a39bf166 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 13 Jan 2018 23:38:54 -0500 Subject: [PATCH] Add ImageMagick to commands.md --- help/commands.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/help/commands.md b/help/commands.md index 8a5ea4e2..aebc24b1 100644 --- a/help/commands.md +++ b/help/commands.md @@ -189,6 +189,14 @@ Use `firejail` to sandbox a program or other piece of software. This ensures tha - Remove all symbolic links to firejail: `firecfg --clean` - Verify that firejail is being used for a particular program: `firejail --list` +### ImageMagick + +- Resize an image to 50% of its original size: `convert -resize 50% ` +- Resize an image to a specific size: `convert -resize 1280x720 ` +- Resize all png files in a directory to 800x600: `mogrify -resize 800x600 *.png` + +Note that you should use `mogrify` instead of `convert` when you want to change images directly. + ### Pacman Although the examples below use `pacman`, they apply for `yay` as well.