Bad Peggy, Scan JPG Images For Defects

Martin Brinkmann
Sep 6, 2011
Image, Software, Windows, Windows software

If you have a large collection of pictures, photos and images on your computer, chance is that some of them are broken or defective. This can be due to transfer errors or storage device issues among other things.

While most users won't mind having a few broken images sitting on their hard drive, others may want to find the broken images to delete or move them. This can for instance be handy if they regularly watch image slideshows on their computer, as broken images might return error messages, break the slideshow or return an empty screen.

Bad Peggy is a Java application that can be used to scan a folder for broken or defect jpeg images. The program will automatically scan all jpg compatible image formats in the root folder and all of its sub-folders.

broken defect jpg images

You select the root folder with a click on File > Scan or the keyboard shortcut Ctrl-s. The program will then scan all jpg files in the folder structure.

All broken or defective images are listed with their file name, path and reason why they have been added to the listing.

This can be the reason if a file is not a jpg image but has the jpg extension, or if it is a truncated file. Images can be selected with the left mouse button. The program tries to display a preview of the image on the left side of the screen. This works well for some types of errors, for instance if the file is truncated, which often is caused by a transfer error. Other jpg images may show a blank screen instead.

A right-click opens a context menu with options to delete or move the file. It is additionally possible to export the list of damaged jpg images.

Additional file types to scan can be added via Options > File Extensions. The application cannot scan large jpg images. It displayed error messages when I tried to scan a folder containing digital camera image with a size of three and more Megabytes.

Bad Peggy is compatible with the Windows and Linux operating system. The software can be downloaded from the developer website.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Martin said on March 12, 2023 at 3:05 pm

    An even quicker way to open Task Manager is by pressing Ctrl+Shift+Esc.

  2. archie bald said on March 12, 2023 at 4:32 pm

    Win+Pause used to be the goto shortcut for me since… W95… Ms recently hijacked it and you now get Sysinfo. Device manager is still accessible this way: the second to last link at the bottom.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.