this post was submitted on 13 Feb 2026
37 points (97.4% liked)
Linux
12303 readers
583 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://usage.imagemagick.org/resize/
Imagemagick is very powerful and easy to use, but be aware that the syntax can be a bit arcane. You will need to use mogrify to modify in-place, and make sure you tell it to only resize if it's larger, and to preserve the aspect ratio. If you just tell it "resize everything to 192x128" it will do exactly that, regardless of the size or shape of the input image.
The link you mentioned looks quite helpful, thanks! Imagemagick is pretty cool
~~It looks like I need to use the "fill area" option, possibly with centering too.~~
~~nvm, read that option wrong. Only scale down it is then w/ keep aspect ratio~~
Never mind, I was right, I just found that the mogrify command requires the file name to be last