How to scan and restore old photos
The short answer
Most of the quality of a restored photo is decided before any software is used: scan the print flat, clean and large (600 dpi for small prints), keep an untouched copy, and only then fix the problems in this order: marks, grain, faded tone, color, size. In our measurements every step helped, and a strong dust filter did more harm than good on fine texture. Torn corners and blurry faces are not things a filter can repair.
A shoebox of old prints is usually a pile of three different problems: the prints themselves have aged (faded, yellowed, scratched, dusty), the scans of them add new faults (glare, skew, a soft focus), and some photos were never sharp or large to begin with. Software can help with the first, you can avoid the second, and nothing can fix the third. This guide takes them in the order you will meet them.
Step 1: scan the print well
Every later step works on what the scan captured, so this is the cheapest place to gain quality.
- Use a flatbed scanner if you have one. Wipe the glass first: a hair on the glass becomes a line on every scan. Place the print square to the edge so that you do not have to straighten it later (straightening resamples the picture).
- Resolution. 300 dpi gives you a copy at the print's own size. For a small print, or if you may want to enlarge it, scan at 600 dpi; the next section works out the numbers.
- Turn automatic fixing off. Scanner software often adds its own sharpening and contrast, which makes later grain and dust removal harder. A flat, plain scan is easier to work with.
- No scanner? Photograph the print: in even daylight near a window (no flash, which glares on glossy paper), the camera parallel to the print, and the whole print in the frame. Look for reflections of the window or yourself in the surface before you press the button. Google's free PhotoScan app is built for this: it walks you through a capture sequence meant to avoid glare, then crops the print, corrects the perspective and turns it upright. A phone photo works for a record of the picture; a scanner works better for fine grain.
- Save a master. Keep one untouched scan as a PNG or TIFF, which lose nothing, and work on copies. A JPEG that is re-saved after every edit loses quality each time. Our guide on PNG, JPG and WebP explains the difference.
How many dpi: the arithmetic
The Library of Congress's guide to scanning personal collections recommends 300 dpi for ordinary 4 × 6 and 5 × 7 inch prints, 400 or 600 dpi if you want to enlarge them to 8 × 10 inches or more, and around 1900 dpi for slides, because they are so small. The pixel count is simply the print's size in inches times the dpi, and that number decides how far you can enlarge and what our restoration page will accept:
| Original | 300 dpi | 600 dpi | 1200 dpi |
|---|---|---|---|
| Wallet print, 2.5 × 3.5 in | 750 × 1050 (0.8 MP) | 1500 × 2100 (3.2 MP) | 3000 × 4200 (12.6 MP) |
| Snapshot, 4 × 6 in | 1200 × 1800 (2.2 MP) | 2400 × 3600 (8.6 MP) | 4800 × 7200 (34.6 MP) |
| 5 × 7 in | 1500 × 2100 (3.2 MP) | 3000 × 4200 (12.6 MP) | 6000 × 8400 (50.4 MP) |
| 8 × 10 in | 2400 × 3000 (7.2 MP) | 4800 × 6000 (28.8 MP) | 9600 × 12000 (115 MP) |
| 35 mm slide (36 × 24 mm), about 1900 dpi | about 2690 × 1800 (4.8 MP) | ||
Three practical rules come out of the table:
- To print bigger, scale the dpi. A print needs about 300 pixels per inch at its final size, so the scan dpi is 300 times the enlargement. A 4 × 6 print enlarged to 8 × 12 is twice the size, so scan at 600 dpi. A wallet print that should become an 8 × 10 needs about three times, so around 1000 dpi; scanners usually offer 1200.
- Mind the 24-megapixel limit. Our Photo Restoration page accepts pictures up to 24 MP. An 8 × 10 print at 600 dpi is 28.8 MP and is refused, so scan large prints at 500 dpi (4000 × 5000, 20 MP), or keep the 600-dpi master and restore a smaller copy made with the image resizer.
- Enlarging has its own ceiling. The page's enlarge step stops at 64 MP and 16,384 pixels a side, and reduces the scale when you ask for more (it says so on the result line). A 4 × 6 at 600 dpi asked to grow 4 times would be 138 MP, so it gets 2 times, which is 34.6 MP and already plenty for a large print.
Color or grayscale, 8 or 16 bits
The same Library of Congress guide calls grayscale the best setting for black and white photographs. Scan a toned print (sepia, for example) in color if you want to keep that tint, because a grayscale scan throws it away for good. Some scanners also offer 48-bit color, 16 bits per channel. That gives a master file more room for heavy tone edits in a desktop editor that keeps 16 bits; browser tools, ours included, work at 8 bits per channel, so a 16-bit file is reduced to 8 bits when you open it there.
Step 2: look before you fix
Zoom in to 100% and write down what you see. Each problem has a different cure and some cures make other problems worse:
| What you see | What it is | What helps |
|---|---|---|
| White and black specks, thin hairlines | Dust and scratches, on the print or on the scanner glass | Re-scan after cleaning the glass first. Then a dust filter for what is left. |
| Fine, even sand-like texture | Film grain or scanner noise | Noise removal, gently. |
| Blocky squares and halos around edges | JPEG compression, from an earlier digital copy | Noise removal helps some. A fresh scan of the print is better. |
| Gray blacks, flat contrast, a yellow or brown cast | Fading and aging of the print | Tone correction. Often the most visible change. |
| Folds, cracks, tears, missing corners, stains | Physical damage: big gaps | Painting out the damage, one area at a time. Not a filter. |
| Soft focus, blurry faces | The picture was never sharp | Nothing brings back detail that was not captured. Enlarging adds believable texture that was never in the photo. |
| Black and white | It is what it is | Color can be added, but it is a guess. |
Step 3: fix in this order
The order matters, because each step changes what the next one sees:
- Marks first. Remove dust and scratches before anything else, so that the noise remover does not treat them as detail to keep.
- Grain next. Remove noise before you stretch the tone, because stretching makes noise stronger.
- Tone. Bring back the darks and lights. The black and white points come from the photo's own histogram, and for a color print each color channel gets its own points, which removes a color cast. A sepia print becomes neutral gray when you do this, so decide whether you want to keep the tint.
- Color. Only for a black and white photograph, and last of the corrections, because the model guesses better from a clean picture.
- Size. Enlarge last, so that every earlier step runs on fewer pixels and the enlarging model starts from a clean picture.
Our Photo Restoration page runs exactly these five steps on one photo or a folder of scans, in your browser, and compares the result with your original. Here is what it does, at its default settings, to a real 1908 print from a public archive:
What each step is worth: our measurements
To measure how much a step helps, you need the clean picture. So we made our own "old photos": three clean pictures, damaged in three ways (grain plus heavy JPEG compression, 260 specks and three thin scratches, and a faded tone), and we measured how close each result was to the clean original (PSNR, in decibels; higher is closer, and 3 dB is a clearly visible difference).
- Every step helped on every picture: dust removal by 4 to 11 dB, noise removal by 2 to 7.5 dB, and fade correction by 3 to 12 dB. Each was tested on a picture damaged in that one way, so the numbers cannot be ranked against each other.
- Fade correction gained the most on the cat (almost 12 dB), and tone is also what makes a print look old at first glance: a flat, gray picture reads as faded however sharp it is.
- Fine texture loses a little. Fur gained the least from noise removal, because a noise remover smooths some real texture too.
- More is not better. A dust filter at 75% made one of our photos worse than the damaged original (26.3 dB against 27.6), because it flattened fur that it took for specks. The default strength is gentle for that reason: raise it only for a photo with many marks and little fine texture.
We also ran the real page, with the real models, on 640 × 480 versions carrying all the damage at once. The three default steps together took the three photos from 18.2 to 21.5 dB, 19.4 to 30.3 dB and 19.4 to 25.6 dB. Adding a 2 times enlargement and measuring against the clean photo at double size gave 20.3, 29.0 and 20.9 dB, where simply enlarging the damaged photo the ordinary way (bicubic) gave 18.2, 19.5 and 19.1. Restoring before enlarging was ahead on all three, by between 1.8 and 9.5 dB; the size of the gain depends mostly on how much of the damage the earlier steps could remove.
These are our own damaged photos, not scans of real prints, and a number cannot tell you whether a face looks right. Use the measurements as a guide to which step to try first and how far to push it, and look at every result.
For grain and noise specifically, this is the noise step on its own, on a photo with heavy computer-made grain:
How the dust and tone steps decide
Two of the five steps are plain arithmetic rather than models, and knowing what they do makes the sliders much easier to set.
Dust and scratches: a speck is a pixel that disagrees with its neighbors
For every pixel, the dust step looks at the 3 × 3 square around it and takes the median of each color, the middle value of the nine. A speck of dust is a pixel far brighter or darker than that median. The Strength slider sets how far is "far": below the threshold the pixel is left alone, from the threshold up to twice the threshold it is moved gradually toward the median, and beyond twice the threshold it is replaced. In levels out of 255:
| Strength | Starts changing a pixel that differs by | Replaces it completely from |
|---|---|---|
| 10 | 58 | 116 |
| 20 (default) | 53 | 105 |
| 50 | 36 | 71 |
| 75 | 22 | 43 |
| 100 | 8 | 15 |
Dust on a scan usually differs from its surroundings by a lot, close to white on a dark area or black on a light one, so the default catches it while ignoring ordinary texture. At the default, the step changed 1.0% of the pixels of a clean cat photo by more than 6 levels, none of a clean retriever photo and 0.11% of a lighthouse. At 75 the threshold drops to about 22 levels, where single hairs of fur start to qualify as specks, which is exactly how 75 made the cat worse than the damaged original. Larger (about 2 pixels) runs the filter twice, for marks too wide for one pass of a 3 × 3 window.
Faded tone: black and white points from the photo itself
The tone step measures the photo's histogram and takes the level below which the darkest 0.5% of pixels fall and the level above which the brightest 0.5% fall. It stretches those to full black and full white, then picks a gamma that brings the average brightness to 0.45 of the full range (with the gamma kept between 0.75 and 1.35, so a very dark or very bright photo is not forced to the middle). For a color print this happens per channel, as step 3 describes. For a black and white or sepia print, or when Keep the tint of the print is ticked, one stretch from the brightness is applied to all three channels, so the tint survives. If the two points are closer than 16 levels, the step leaves the photo alone instead of stretching noise into contrast.
Two consequences show up in practice. Stretching to the 99.5% point sends the brightest half percent of pixels to pure white, so a bright sky can burn out at 100%; the default Amount of 80% mixes back a fifth of the original and softens that. And because the step always stretches, it also changes photos that were never faded, so switch it off for a print whose contrast is already right.
What no filter can do
- Physical damage. A filter cannot rebuild a torn corner or a crack across a face. Paint the damaged area out with Remove Object first, then restore the photo. The result is a plausible guess at what was lost.
- Blurry faces. Enlarging and sharpening tools add texture. They cannot add the true detail of a face, and a face that looks sharper after processing is less like the person than the original was. Be careful with family photos: keep the original beside the restored version.
- True colors. A model that adds color to a black and white picture decides that a sky is blue and grass is green from what it has seen. Clothes, cars and walls can come out any color. If you know the real colors from a family story or a color photo of the same thing, trust that over the model.
This is what adding color to a 1940 black and white photo looks like. The colors are a guess:
Troubleshooting
| What you see | Likely cause | What to do |
|---|---|---|
| Hair, fur or fabric looks flattened | The dust strength is high enough to treat fine texture as specks | Go back to the default 20, or lower; remove the few big marks left with Remove Object |
| Specks remain after the dust step | The marks are wider than one pixel, or they differ from their surroundings by less than the threshold | Choose Larger (about 2 pixels) first, then raise Strength in small steps while watching textured areas |
| Faces look waxy or plastic | The noise model smoothed real skin texture along with the grain | Lower the noise Amount from 70% to about 40 to 50%; the slider mixes the original back in |
| Added color looks blotchy or bleeds past edges | Color is predicted at 512 pixels and enlarged, and it is a guess | Lower Amount of color for a subtler tint, or leave the photo in black and white |
| The page refuses a scan | It is over 24 megapixels | Scan at a lower dpi or restore a resized copy (see the dpi table) |
| Enlarging gave 2 times instead of 4 | 4 times would pass 64 MP or 16,384 pixels a side | Expected; the result line says so. Start from a smaller scan if you need the full 4 times |
| A fine pattern of dots or ripples covers a scan | The original is a printed picture from a book, magazine or newspaper, made of halftone dots | Many scanner programs have a descreen option for printed originals; use it when you scan |
Keep it safe
- Keep the untouched scan, the restored version and, if you can, the print itself. A restoration is an interpretation and a better method may come along.
- Keep at least two copies of the scans in different places, as the Library of Congress guide advises, and copy them to current storage every five to seven years, as it also recommends. A single external drive in the same drawer as the prints protects against nothing that would destroy the prints.
- Write on a copy what you changed (for example "dust removed, tone corrected, color added by software"), especially if it will be shared. A colorized photo can mislead later viewers about a past event.
- Photos taken by your family or by a studio belong to someone, even when old. Restoring a print does not change who owns it.
- If you use our page, your original files are never changed, and the work runs in your browser; for what this site collects, read the privacy policy.
How long a box of prints takes
On our test computer, using its graphics chip, the three default steps took 5 to 6 seconds for a 640 × 480 photo and 12 to 13 seconds for a 1024 × 1024 scan. Almost all of that is the noise step, which works in pieces of 448 × 448 pixels at roughly 1.3 to 1.5 seconds a piece; dust and tone add a fraction of a second. That makes the time easy to estimate from the scan size, as arithmetic on our measurements (your device may be faster or slower, and a computer without a usable graphics chip is much slower):
| A 4 × 6 print scanned at | Pixels | Pieces for the noise step | Default steps, about | A box of 200 prints, about |
|---|---|---|---|---|
| 300 dpi | 1200 × 1800 | 15 | 20 to 23 seconds | 65 to 80 minutes |
| 600 dpi | 2400 × 3600 | 54 | 70 to 85 seconds | 4 to 5 hours |
Two ways to keep that manageable: switch the noise step off for prints that show no grain (the dust and tone steps alone are close to instant), and run the box in groups of a few dozen, checking each group before starting the next. The 2 times enlargement is the slow extra: it took about 33 seconds for a single 640 × 480 photo on the processor in our tests, so use it only for the prints you plan to show large.
A short plan for a box of prints
- Clean the scanner glass and scan every print flat at 300 dpi (600 for the small ones) into PNG or TIFF.
- Sort them: fine as they are, tone only, needs dust and grain work, needs painting out, black and white you may want in color.
- Run the batch through Photo Restoration with the steps each group needs, starting with one photo to check the strength.
- Paint out serious damage with Remove Object before you run the batch.
- Name each file with the date, the place and the people, so that the photo is worth more than its pixels. Starting the name with the date as year, month and day (
19580614-wedding-001.png, the pattern the Library of Congress guide suggests) makes the files sort in order by themselves.
Restore old scanned photos in one go: clean dust and scratches, take out grain, fix faded tone, add color to black and white, and enlarge. The models run in your browser. It runs in your browser. Open the Photo Restoration.
Frequently asked questions
What dpi should I scan old photos at?
300 dpi is enough for a copy at the print's own size. Use 600 dpi for small prints or if you may want to enlarge them. A 4 × 6 inch print at 600 dpi is 2400 × 3600 pixels.
Should I fix dust or grain first?
Dust and scratches first, then grain, then tone. A noise remover may keep a speck as detail if it is still there, and stretching the tone makes noise stronger, so noise goes before tone.
Can software fix a torn photo?
Not with a filter. A tear or a missing corner is a gap that has to be painted over with a fill-in tool. The result is a guess at what was there, so keep the original.
Is it accurate to add color to a black and white photo?
No. The colors are a model's guess from what it has seen. Skies and grass are usually right; clothes and objects can be any color. Trust what you know over what the model drew.
Can a color print that has turned red or magenta be fixed?
Usually it improves a lot. The tone step stretches each color channel separately, which removes an overall cast. Where one dye has faded almost completely, that channel holds very little information, so the result is a more natural picture rather than the colors the print had when new.
Can I scan slides on an ordinary flatbed?
Only with the right attachment. A slide has to be lit from behind, so it needs a flatbed with a slide tray and a light in the lid (a transparency adapter) or a standalone slide scanner. Then scan at the high resolution in the dpi table above.
Why did my sepia photo turn gray?
Tone correction removes a color cast, and a sepia tint counts as one. Keep the tint on if you want the warm look.
Should I save restored photos as JPG or PNG?
Keep the master scan as PNG or TIFF. For the restored copy, PNG keeps every pixel; a JPG at a high quality is smaller and fine for sharing, but do not re-save it again and again.