This article explores the powerful mogrify tool in Linux, focusing on the example command and its various options. From resizing and compressing images to applying filters and optimizing formats, mogrify offers a wide range of capabilities. The article provides a step-by-step breakdown of each parameter and its impact on the final output, giving readers a thorough understanding of how to utilize mogrify for image manipulation tasks.
Tag: resize
Image Conversion & PDF shrinkage
Problem : I need to take a bunch of mixed images of jpg and png origin and convert them to a PDF file. Solution : convert all to one file type, then convert them all to a single PDF and THEN shrink the PDF to a normal size…. tools needed : imagemagick, ghostscript, bash/zsh and… Continue reading Image Conversion & PDF shrinkage
Create Thumbnails from a bunch of images
Linux Code snippet. Ever wated to batch create thumbnails? “musclecarr” posted this bash script to create thumbnails of all images of a specific type. It uses imagemagick and specifically the convert command. minor modifications done to it and comments added for easy understanding, here it is : #!/bin/bash # take argument or use current dir… Continue reading Create Thumbnails from a bunch of images