batch sharpen and saturation
batch sharpen and saturation
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!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: batch sharpen and saturation
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)
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
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
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