Skip to content
86% off$349 $48.86code BF2026

Guides

ImageOptim Fails to Read All Photos in a Bulk Run: Fixes

ImageOptim only shrinks a fraction of a 5,000-photo folder? Check what was skipped, run batches of about 100, or use a per-file status view.

TroubleshootingUpdated 6 min read

On this page

Someone on Reddit's Mac apps community described it like this: "when bulk running 5000+ images to compress, ImageOptim fails to read all photos." Their folder held about 30 GB of JPEGs, only 2-3 GB was saved, and rerunning the folder didn't help. Replies suggested batches of 100, and others pointed to Clop. One person said Permute did worse.

Why it happens

We don't know. The one thread we found doesn't explain the cause, and we haven't reproduced it. These are the plausible explanations, most likely first:

  1. The files were already compressed. Photos exported from a camera or an earlier optimizer can shrink very little. A 2-3 GB saving on 30 GB (under 10%) may be partly real.
  2. The run is too big. Dropping thousands of files at once may stall or skip some. This is what the batch workaround implies, but it is not confirmed.
  3. Some files fail individually. Damaged downloads, unusual formats or huge dimensions can fail while their neighbors succeed.
CauseSymptomFix
Already-compressed JPEGsMost files shrink by a few percentAccept it, or use lossy compression
Run too largeMany files unchanged, no errorBatches of about 100
Bad individual filesSame files fail even aloneFind what they share, report it

Step 1: Check whether files were actually skipped

  1. Work on a duplicate of the folder. Keep the untouched original next to it.
  2. In Finder, select each folder and press ⌘I (Command-I). Note the item count and total size.
  3. After the run, open both folders in list view and sort by Size. Files whose size is identical to the original were probably skipped.
  4. Drop two or three of those files on the app by themselves. If they process fine alone, the size of the run is the likely problem. If they still fail, the files are the issue (see "If nothing works").

Step 2: Run in batches of about 100

This is the workaround from the thread and needs nothing but ImageOptim. Its official site shows no price; third-party sources list it as free, and it handles JPEG, PNG and GIF.

  1. Duplicate the folder in Finder and open the copy in list view, sorted by Name.
  2. Click the first file, Shift-click the 100th, and drag that selection onto ImageOptim.
  3. Wait until ImageOptim finishes that batch before starting the next.
  4. Repeat. For 5,000 photos that is about 50 rounds.
  5. To keep your place, split the folder first: select 100 files, right-click and choose New Folder with Selection. Then process one subfolder at a time.
  6. Repeat the size and item-count check from step 1.

The cost is the tedium. If you do this often, the next option is less work.

Step 3: Use an app that shows per-file status

We make Gizmojar, so weigh this section accordingly. A bulk run is hard to trust when you can't see which files failed. Gizmojar's image Compress tool accepts a dropped folder and lists every file with its status. It needs macOS 14 Sonoma or later. We haven't tested runs of 5,000+ images, so try one subfolder of about 200 photos first.

  1. Press ⌃⌥Space (Control-Option-Space) to open the command bar, or open the main window.
  2. Drop the folder in. Gizmojar scans it recursively, skips hidden files and adds only video, audio, image and PDF files. If the folder also holds videos or PDFs, pick Images in the "Per kind" bar.
  3. Choose Compress in the Images drawer (⌘3). Open its options with ⌘↵.
  4. Set Mode to Quality (10-100%, default 80%) or Target size (Fit under: in KB, default 500).
  5. Press ↵ to run. The batch list shows Name, Details, Size, Status and Saved. Use the Failed filter chip to see problem files and Retry to rerun them.

What happens to your originals and results

  • Originals are never changed. A dropped folder is saved by default as <Folder> (Gizmojar) next to it, with the same subfolders and file names.
  • Files that failed or didn't come out smaller are copied into that folder as-is so counts match. A matching file count therefore doesn't prove everything shrank. Use the Status column and the Failed filter.
  • A photo that can't be made at least 2% smaller isn't saved as a new file; the row reads "Original kept: already small". Already-compressed JPEGs will produce many of these. You can change it under Settings > General with If a result isn't smaller:.
  • With Save results only when the whole batch succeeds on (the default), nothing is published until every job succeeds. If some fail, you see "N failed, so nothing was saved. Keep the M that worked?" with Keep M and Discard. You can turn this off in Settings > General.
  • Jobs run 2 at a time by default; Settings > Advanced raises it to 8. Gizmojar keeps the Mac awake while jobs run.
  • Make sure the destination has room for up to the full size of the folder, since every file gets a result or an as-is copy.
LimitWhat it means for a photo folder
Output is always JPEGNo PNG-preserving mode
Camera info, location and original dates off by defaultChange in Settings > Advanced > Keep Metadata if you sort by capture date
Animated or multi-page imagesRefused
Images over 300 MPRefused

Gizmojar is part of MacSuite ($349 one-time, as of November 2026), and each app runs free for 7 days, enough to test a subset. See the Gizmojar page, the image tools docs and the saving results docs.

Step 4: Try a different compressor

The same thread suggested Clop, while one commenter said Permute did worse. That is one person's result, not a verdict. As of November 2026, from our notes:

AppPriceNotes
ClopFree tier of 5 files per drop/session; Pro €15 lifetime; 14-day trialA folder this size needs Pro. Has a batch window with backups.
Permute 4$14.99 one-timeNeeds macOS 26 and Apple Silicon.

More detail: Clop vs Gizmojar, Permute vs Gizmojar and ImageOptim alternatives.

Checklist before you rerun

  • You are working on a duplicate folder.
  • You noted the item count and total size of the original.
  • Batches are about 100 files, and each finishes before the next starts.
  • Unchanged files were retested alone.
  • The destination volume has enough free space.

If nothing works

If files fail alone, even in small batches, look for what they share: a format, very large dimensions or a damaged download. Then contact ImageOptim's developer through the contact details on its official site. For Gizmojar, the troubleshooting docs list its exact messages, and support is where to write.

text
Subject: Bulk run skips photos (about 5,000 JPEGs)

macOS version: 
Mac model: 
Files dropped: 
Files unchanged afterward: 
Total size before / after: 
Steps tried: batches of 100, retested skipped files alone
Attached: one skipped file that also fails when processed alone

Common questions

Is a 2-3 GB saving on 30 GB always a failure?

No. JPEGs that were already compressed can shrink very little. Check for files with identical sizes before and after, which is the real sign of skipping.

Why batches of 100 specifically?

That is the number a reply in the thread gave. We have no evidence it is a hard limit, so adjust if it works at a different size.

Does Gizmojar make PNGs smaller without changing the format?

No. Its image Compress always writes JPEG. For lossless PNG optimizing, use ImageOptim.

Will rerunning the folder fix it?

The person in the thread said it didn't. Batching or a different tool is more likely to help.

Every app.
One purchase.