Is there a way to easily “batch” save 1000’s of JPGs to a smaller file size “Save for Web” format, like in Photoshop?

This page summarizes the projects mentioned and recommended in the original post on /r/web_design

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • imagemin-cli

    Minify images seamlessly

  • ImageOptim

    GUI image optimizer for Mac

    ImageOptim is a great tool for this.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • squoosh

    Make images smaller using best-in-class codecs, right in the browser.

    https://squoosh.app is a good cross platform option.

  • ImageMagick

    🧙‍♂️ ImageMagick 7

    Yes, there are several free tools and methods available for batch resizing and compressing images, including open-source software and command-line tools. Here are a few options: IrfanView (Windows): IrfanView is a popular, lightweight, and free image viewer and editor for Windows. It has a built-in batch conversion tool that can resize and compress multiple images at once. Download it from the official website (https://www.irfanview.com/) and follow these steps: Open IrfanView Go to File > Batch Conversion/Rename Choose the input and output directories, and select the images to process Set the output format to JPG Click on the "Options" button to adjust the compression settings Click on "Advanced" to set the resizing options Click on "Start" to process the images ImageMagick (Windows, macOS, Linux): ImageMagick is a powerful command-line image manipulation tool that can be used for batch resizing and compressing images. Download and install ImageMagick from the official website (https://imagemagick.org/) and use the following command in the terminal or command prompt: magick mogrify -resize 25% -quality 75 -path /path/to/output/folder/ /path/to/input/folder/*.jpg This command will resize the images to 25% of their original size and set the JPG quality to 75 (lower value for higher compression). Adjust the values according to your needs. XnConvert (Windows, macOS, Linux): XnConvert is a free and powerful batch image converter that supports many formats. Download it from the official website (https://www.xnview.com/en/xnconvert/) and follow these steps: Open XnConvert Click on "Add files" or "Add folder" to select the images Go to the "Output" tab and choose the output format (JPG) and output directory Click on the "Settings" button to adjust the compression settings Go to the "Actions" tab and click "Add action" > "Image" > "Resize" to set the resizing options Click on "Convert" to process the images Choose the option that best suits your needs and platform. All of these tools can handle batch processing of thousands of images with just a few clicks or commands.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts