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.
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.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.