Page 1 of 1
batch sharpen and saturation
Posted: 2018-03-30T19:00:17-07:00
by otterdive
Greetings, I am completely new to Image Magick and I just need to sharpen and add some saturation to a batch of images. When I use the GUI I like 0x1.5 for sharpen, and 130% for saturate. How would I make a command line to do a batch process on an entire folder of .jpg images with those settings? This is for a missing person search where I need to upload the images to a site and have others scan through them. A quick answer would be very much appreciated. Thank you!
Re: batch sharpen and saturation
Posted: 2018-03-30T20:33:22-07:00
by fmw42
Use mogrify. It will process a whole folder of images. But you should create a new directory for the output so you do not corrupt your input image. See
https://www.imagemagick.org/Usage/basics/#mogrify
make a new directory for the output (test2)
cd to directory holding your input (test1)
Code: Select all
mogrify -path path2/test2 -format jpg -sharpen 0x1.5 -modulate 100,130,100 *.jpg
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at
http://www.imagemagick.org/discourse-se ... f=1&t=9620
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown