Single image clipping is very simple. Basically, all free image tools have this function, but we need to find some tools to achieve batch image clipping. After searching on the Internet, we found that it is basically a charge, and the function of batch image clipping needs to open members to use. If we want to achieve free batch image clipping, we can use itffmpegThis powerful program is implemented.
The method of batch image clipping uses ffmpeg to realize batch image clipping. Next, Blueleaf shares the ffmpeg batch image clipping command, copies the following command to the txt file, changes the file extension to bat, places the bat file in the directory where the image is located, and runsBat commandOK.Note that you need to download ffmpeg programs. You can click the link below to download bat programs and ffmpeg programs directly.
@echo offTITLE=Picture Batch Cropping Script - Blueleaf Share LANYEORGecho,Echo Please enter the size to be cropped, such as 800:600echo,Set/p chicun=Please enter the size::: Set the image format to be processed belowset Ext=*.jpg,*.jpeg,*.png,*.gif,*.webp,*.bmpmd outfor %%a in (%Ext%) do (ffmpeg -i "%%a" -vf crop=%chicun%:0:0 out/"%%a" -y)Msg * "Batch cropping of pictures completed!"exit
All content resources shared by this website, if not noted, are original by Blueleaf. If you need to reprint, please indicate the source;Please contact us in case of infringementContact handling。Please understand!