Discussion on: Automate Resizing Bulk Images Using Libvips

jcupitt profile image
John Cupitt

You can do this at the command-line too:

parallel vipsthumbnail --size 720 {} -o 720/%s.jpg ::: *.jpg
Enter fullscreen mode Exit fullscreen mode

Will make 720x720 thumbnails of every file in the current directory and write them as JPG to the 720/ directory. It'll run a set of thumbnail processes in parallel, so performance should be good.