LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

magick-mogrify

modifies images in place

TLDR

Resize images in place
$ magick mogrify -resize [800x600] [*.jpg]
copy
Convert format in place
$ magick mogrify -format png [*.jpg]
copy
Change quality of all JPEGs
$ magick mogrify -quality [85] [*.jpg]
copy
Rotate images
$ magick mogrify -rotate [90] [*.png]
copy
Strip metadata
$ magick mogrify -strip [*.jpg]
copy

SYNOPSIS

magick mogrify [options] image...

DESCRIPTION

magick mogrify modifies images in place. Part of ImageMagick. Unlike convert, mogrify operates directly on files. Use -path to save to different directory. Efficient for batch processing.

PARAMETERS

-resize geometry

Resize images.
-format format
Convert to format.
-quality value
Set output quality.
-rotate degrees
Rotate images.
-strip
Remove metadata.
-path dir
Output directory.

INSTALL

sudo pacman -S imagemagick
copy
sudo apk add imagemagick
copy
brew install imagemagick
copy
nix profile install nixpkgs#imagemagick
copy

CAVEATS

Modifies files in place by default. Use -path to preserve originals.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid