Bulk Crop Images From CMD/PowerShell


Answer :

ImageMagick is a light-weight tool that can be used for this. Here is an example that croppes all jpg images in a directory and puts the results in a new folder:

cd path/to/dir/ mogrify -crop +100+10 -quality 100 -path ../cropped *.jpg 

Here, 100 pixels from the left border and 10 pixels from the top are removed. See here for more information on how to use crop.


Have you tried XnCovert? XnConvert is free cross-platform batch image processor, allowing you to combine over 80 actions. Compatible with 500 formats. It uses the batch processing module of XnViewMP and it is freeware and you can donate them if you find it useful. https://www.xnview.com/en/xnconvert/


Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?