Share excellent template plug-in resources
Current position: home page > Write casually >How to realize batch image clipping (ffmpeg batch image clipping command method)

How to realize batch image clipping (ffmpeg batch image clipping command method)

Author: blueleaf Classification: Write casually Time: January 28, 2024 Browse: 422

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 it ffmpeg This powerful program is implemented.

 Picture Batch Clipping (ffmpeg Batch Picture Clipping Command Method). png


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 runs Bat command OK. Note that you need to download ffmpeg programs. You can click the link below to download bat programs and ffmpeg programs directly.

 @echo off TITLE=Picture Batch Cropping Script - Blueleaf Share LANYE ORG echo, Echo Please enter the size to be cropped, such as 800:600 echo, Set/p chicun=Please enter the size: :: Set the image format to be processed below set Ext=*.jpg,*.jpeg,*.png,*.gif,*.webp,*.bmp md out for %%a in (%Ext%) do ( ffmpeg -i "%%a" -vf crop=%chicun%:0:0 out/"%%a" -y ) Msg * "Batch cropping of pictures completed! " exit

Ffmpeg batch cutting picture script program

Source: Xunlei online disk |    Password: dh5u |    Size: 12.7MB |    Downloads: 5 times

Disclaimer:

Website: Click Copy to share with friends!

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 infringement Contact handling Please understand!

Comment List
 blink the eyes kiss Growl happy think poor It's embarrassing Grievance ha-ha hush Right hum Zuo Hum Hum doubt A bad laugh Make money Sadness Be cool Seduce fierce handshake yeah Hee hee Shyness applause greedy Madness Embrace gather and watch Mighty awesome
Submit comments

Clear information
Close Comment