Batch Resize and Export JPEG Images with Photoshop Actions
Record one Photoshop Action that fits images to a maximum size, converts to sRGB, and exports JPEG, then run it across a folder using File > Automate > Batch, with verification and recovery steps.
04 Jul 2026, 21:43 UTC

Desired Outcome
You have a folder of images and need the same edits on every file: resize to a maximum width and height, adjust color, sharpen, convert to sRGB, and save as JPEG. Doing this manually is slow and error-prone. The useful takeaway is to record one Photoshop Action once, then run it unattended across the whole folder with File > Automate > Batch, writing all outputs to a destination folder you choose.
Prerequisites
- Photoshop 2020 or later. Menu locations for Actions, Fit Image, and Export As are stable across recent releases.
- All source images in a single local folder. Avoid network drives or cloud-synced folders; latency and sync conflicts can pause or fail a batch.
- A destination folder created before you start. Keep the source folder untouched so you can revert by deleting outputs.
- One representative image to use while recording the action.
Record the Action
An Action records a sequence of menu commands and panel changes so Photoshop can replay them. Open your representative image, then open Window > Actions. Click the folder icon to make a new set, then click the page icon to make a new action. Name it (for example, "Web JPEG 1920"), then click Record.
Perform the edits in this order:
- Choose
Image > Fit Image. Enter maximum width and height, such as 1920 and 1080 pixels. Fit Image scales the longest edge to fit within those bounds while preserving aspect ratio. This is safer than fixed Image Size for a mixed folder of portrait and landscape photos. - Add adjustment layers from the Layers panel: Levels to set black and white points, then Vibrance for controlled saturation. Adjustment layers remain editable until export, when they are flattened into the JPEG.
- Choose
Filter > Sharpen > Unsharp Mask. A common starting point is Amount 80 percent, Radius 1.0 pixel, Threshold 3. These values are recorded exactly as entered and apply to every image. - Choose
Edit > Convert to Profile. Set Destination Space tosRGB IEC61966-2.1, Intent to Relative Colorimetric, and enable Black Point Compensation. This embeds a web-standard color profile so browsers display colors consistently. - Choose
File > Export > Export As. Set Format to JPEG and Quality to 80. In the save dialog, choose any folder (the destination folder is fine) and do not rename the file. The Batch command will override this location later. - Click Stop in the Actions panel.
Configure and Run the Batch
Choose File > Automate > Batch. The dialog controls which action runs, where files come from, where they go, and what happens on errors.
| Section | Setting | Reason |
|---|---|---|
| Play | Set: your action set; Action: your recorded action | Selects the recorded edit sequence. |
| Source | Folder → choose your source folder | Enable Suppress File Open Options Dialogs and Suppress Color Profile Warnings so modal prompts do not pause the run. |
| Destination | Folder → choose your destination folder | Enable Override Action "Save As" Commands. This forces every output into the chosen folder using the original filename, ignoring the folder you picked while recording. |
| Errors | Stop for Errors | Halts on the first problem so you can inspect the offending file instead of silently skipping it. |
| Logging | Create Log File (optional) | Writes a text file with per-file status for an audit trail. |
Click OK. Photoshop opens each source file, runs the action, saves the JPEG to the destination folder, and closes the document.
Expected Checks
- Spot-check 5 to 10 output files. Open one and choose
File > File Infoto confirm the color profile is sRGB. Check dimensions inImage > Image Size; neither width nor height should exceed the Fit Image limits. - Open a few JPEGs in a browser or image viewer to confirm color looks consistent and there are no sharpening halos or clipping from the adjustment layers.
- If you enabled logging, open the log file and scan for Error or Skipped entries.
Recovery and Rollback
Because the batch writes new files to the destination folder, you can roll back by deleting the destination folder contents and re-running after fixing the action.
- If the batch stops on an error, the problematic document stays open. Inspect the history, correct the step, then either continue that file manually or edit the action: expand the action in the Actions panel, double-click a step to change it, or re-record that step and stop.
- To re-run only unprocessed files, move successfully processed images out of the source folder, then run the batch again on the remainder.
- If many outputs are wrong, delete the destination folder, correct the action, and run the batch from the start. The source images were never modified.
Limitations and Engineering Notes
- Actions cannot branch. For example, an action cannot automatically rotate portrait images differently than landscape images. Use
File > Scripts > Image Processor Proor a custom script for conditional logic. - Batch ignores unsaved changes in documents that are already open. Close unrelated files before starting.
- Recorded values are absolute. Sharpening amount and JPEG quality are the same for every file; they do not adapt to image content or resolution.
- Large RAW files can consume significant memory when opened at full resolution. If you run out of memory, consider downsampling in Camera Raw before the batch, though that step may introduce a modal dialog unless scripted.
Practical verification: after the full run, compare a sample of source and output files side by side. Confirm the output dimensions match the Fit Image maximum, the file type is JPEG, and the embedded profile is sRGB. If any check fails, fix the action and re-run on the affected subset rather than editing outputs individually.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.