What causes JPEG and PSD files to get corrupted?
Most corruption comes from an interrupted write. A dropped transfer, an early card removal, a crash during saving, or a bad sector can leave the file structure incomplete even though the bytes are present.
A JPEG stores a header, markers, and compressed image data in order. If a transfer stops or a memory card develops bad sectors, part of that structure may go missing. The viewer then shows an error or grey band. A thumbnail can still look fine because its embedded preview survived while the main image stream did not. One photographer on r/postprocessing described old JPEGs from a flash drive whose thumbnails looked fine but opened "covered up by a rectangle."
PSD files can fail when Photoshop is writing a layered document and a crash or unexpected restart interrupts the save. The file may open with "unexpected end-of-file" or with empty layers. On r/photoshop, one user saw "could not open [file].psd because an unexpected end-of-file was encountered," followed by a corrupt-layers warning and empty drawn layers. Check Photoshop's autosave and crash-recovery folder first. It can contain a copy from before the crash, but the folder empties on a clean shutdown. If it is empty, Adobe's support community points users toward dedicated PSD repair tools, as in its PSD repair discussion.
Repair often restores only part of a file. One parent on a data-recovery forum lost about 36 GB of newborn hospital photos and videos on a microSD card that stayed unwritable after formatting. Only some files came back. If the image data itself is gone, no tool can rebuild it. Repair fixes broken structure, not missing pixels; the original r/DataHoarder thread shows how far the damage can run.
What do JPEG error messages like "JPEG error #52" mean?
Most JPEG errors come from a broken header, invalid marker, or damaged data segment. A numbered error or "Invalid Image" usually points to a structure problem a tool can rebuild. A grey "Photocopier Effect" pattern usually means lost image data, where only partial recovery is realistic.
Different viewers use different messages for the same corruption. SysTools indexes strings such as "JPEG error #52" and the "Photocopier Effect," which can help match the symptom to a repair approach.
| Error you see | What is usually broken | What tends to work |
|---|---|---|
| "Not a valid image" / "file is not supported" | Header or opening markers damaged | A repair tool that rebuilds the JPEG structure, like Picture Doctor |
| "Unknown JPEG Format" / "JPEG error #52" | Invalid or misplaced JPEG marker | Marker-level repair; a same-camera reference file helps stubborn headers |
| Grey block or half-drawn image | Truncated or missing image data stream | Partial recovery only; a repairer may return the top rows or an embedded thumbnail |
| Repeated tiled or striped pattern ("Photocopier Effect") | Bit errors that desync the image data | Often only partial; a marker-level tool may help |
| "No preview available" / blank thumbnail | Embedded preview and main stream both lost | Try file-carving to re-extract, then repair; results vary |
| "Unexpected end-of-file" (PSD) | Save cut off, layer data incomplete | Photoshop's crash-recovery folder first, then a PSD-aware repair tool |
The 7 best image repair tools, reviewed
1. Picture Doctor by SoftOrbits (best for corrupted JPEG and PSD, including layer recovery)

Picture Doctor repairs corrupted or truncated JPEG and PSD files that show "not an image" or "file is not supported." It saves the result as BMP while preserving the original dimensions and EXIF data. PSD support is its main advantage: it opens Photoshop documents from version 3 through 26 and restores layers as editable layers. Batch mode processes a folder in one pass. The free trial adds a watermark so you can check the result before paying. See the full spec on the Picture Doctor page.
Repairs corrupted JPEG and PSD
Restores editable PSD layers
Processes a folder in one batch run
Preserves dimensions and EXIF
Needs no reference file
Windows only, with no Mac build
Repairs JPEG and PSD only, so RAW and HEIC are out of scope
Saves the repaired image as BMP
Roughly half of badly damaged files come back, by our own estimate
Repairs structure, not lost pixels, and cannot recover deleted photos
2. Stellar Repair for Photo (best for the widest format and RAW coverage)
Stellar covers the widest range of formats here, including many RAW formats from camera brands, HEIC, and TIFF. It runs on Windows and Mac and can extract embedded thumbnails from files it cannot fully repair. The free version previews the repaired image but will not save it. Paid tiers add video and data recovery. Results on severely damaged files are disputed. Check current specs and pricing on the Stellar Repair for Photo page.Repairs the widest set of formats here, including many RAW types
Runs on Windows and Mac
Extracts thumbnails from files it cannot fully repair
Ships frequent updates from an established brand
Free version previews only and will not save the result
Video and recovery require pricier tiers
64-bit only, with no support for older systems
Reported results on severe damage are inconsistent
Handles photos plus video and documents from one app
Handles 15+ image formats
Offers desktop and online versions
Draws user praise for results on corrupted video
Vendor-published success rates are self-reported
Trustpilot reports auto-renewal and refund refusals
Some users report no result from "Advanced repair"
Pricing is not clearly shown before download
4. EaseUS Fixo Photo Repair (best for repair inside a broader recovery suite)
EaseUS Fixo repairs common image formats and RAW files from phones and cameras on Windows and Mac. Its two-step interface sits inside a broader recovery suite. The trial previews but does not save. EaseUS's own roundup lists Picture Doctor and accurately describes its JPEG-plus-PSD and batch features. See the EaseUS photo repair roundup.Repairs common formats plus RAW from many device types
Bundles repair into a broader recovery suite
Uses a two-step workflow
Runs on Windows and Mac
Trial previews only and will not save repaired files
Slower on large files, especially the online version
RAW handling hits limits on badly corrupted files
Independent, non-vendor reviews are thin
5. JPEG-Repair Toolkit by DiskTuna (best for technical users doing header and marker repair)
JPEG-Repair Toolkit works at the header and marker level. It realigns invalid markers, patches bad-sector damage, and can pull a JPEG from a RAW file's embedded thumbnail. Serious header repair often needs a "reference file": a good photo shot on the same camera and settings. The developer's writeups explain JPEG corruption clearly. See the JPEG-Repair Toolkit page.Gives header-level control over JPEG repair
Extracts JPEGs from RAW file thumbnails
Documents the repair process clearly
Includes lifetime updates in the license bundle
Header repair often needs a same-camera reference photo
Steep learning curve for non-technical users
JPEG focused, with no PSD support
Windows only
6. SysTools JPEG Repair (best for chasing a specific JPEG error code)
SysTools JPEG Repair targets errors such as "JPEG error #52," "Unknown JPEG Format error," and the tiled "Photocopier Effect." It fixes header and bit-error damage in JPEG files and supports a wide range of Windows versions down to legacy releases. Pricing is not published, and there is no clear batch mode. See the SysTools JPEG Repair page.Matches specific JPEG error codes
Repairs header and bit-error damage
Supports a broad range of Windows versions
No pricing published on the product page
No clear batch-processing mode
Dated feel and legacy-first OS support
JPEG only, with no PSD or RAW
7. SecureRecovery for Photo by OfficeRecovery (best for a desktop plus cloud option)
OfficeRecovery's photo tool, formerly sold as PixRecovery, has desktop and online versions. The standard product repairs JPEG, PNG, and TIFF, plus other common non-RAW formats. RAW support is a separate purchase, and trial output is watermarked. Pricing is public.Offers desktop and cloud repair options
Publishes upfront pricing
Repairs common non-RAW formats
Comes from an established vendor
RAW support is a separate purchase
Trial output is watermarked
Two-SKU split confuses buyers
No PSD layer repair
How to repair a corrupted photo before you buy anything
Before paying for photo repair software, try a different viewer and a "Save As," check Photoshop's crash-recovery folder for PSDs, and stop using the card the file came from. Then move to a dedicated repair tool.
Open the file in a second viewer. IrfanView or your browser may render a file another app rejects; if it opens, use "Save As" to write a clean copy. For a PSD, check Photoshop's crash-recovery folder. If the file is on a memory card or failing drive, copy it to your PC and work on the copy.
Stop using the memory card or drive the corrupted photo came from. New photos and other writes can overwrite data a repair tool needs. DPReview's photography forums repeatedly give the same advice: put the card down before making things worse.
Then try a dedicated tool such as our own JPEG and PSD repair tool. Point it at a copy, run the repair, and check the result. If the tool offers a preview before saving, use it before paying.
Does the free trial actually save your repaired photo?
Often it does not. Most photo repair software trials, ours included, show the fixed image but lock export until you pay. A visible watermark lets you judge the result; a preview that claims a finished "FIXED" file but will not save does not.
Almost every paid tool here restricts saving. Stellar previews the repair but will not write the file until you buy. EaseUS Fixo does the same. Picture Doctor shows the result with a watermark and needs a license to export a clean copy. Run the free preview on your worst file and check whether the tool is clear about the paywall. On one r/datarecovery thread, a user paid after seeing a fixed preview but never received a saveable file.
Also considered, and why they did not make the list
We looked at more than seven tools. Some lacked evidence or overlapped with better picks, while others solve deleted-file recovery rather than corruption.
Which photo repair tool should you pick?
Pick by file type and comfort level. Corrupt PSD with lost layers: Picture Doctor. RAW off a camera card: Stellar. An online tool: a quick one-off. A stubborn header case: JPEG-Repair Toolkit.
No repair tool fixes every file. A DiskTuna writeup tested the "half-grey photo repair" demos vendors promote and concluded, "no these tools can not repair half grey photos." It also noted that one widely shared demo video was not produced by the vendor it advertised. Expect partial results on badly damaged files and judge each tool by what it returns from your own broken copy.
Sources