One-sided trimming

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Posts: 1
Joined: 2020-03-02T19:46:31-07:00
Authentication code: 1152

One-sided trimming

Post by pukodixa »
There are a bunch of images (several hundred) .jpg in one folder in a resolution of 1468x2140, which need to be cropped only 180 pixels above.
One-sided trimming through -chop.
But how to set a command or make a script?
Last edited by pukodixa on 2020-03-20T02:59:13-07:00, edited 1 time in total.

User avatar
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: One-sided trimming

Post by fmw42 »

What is your ImageMagick version and platform? Scripting is different on Windows vs Unix. What was the command you used? Have you tried mogrify? It will process a whole folder of file in one command. See