Two identical faded photographs of Paris apartment buildings printed side by side on one strip, with the film border showing at the left edge.

Fifty saves, and the first one did the damage

Formats · · · 20 min read

What One More Save Does to a Photograph

Everybody has been told that saving a JPEG again damages it. Almost nobody has been told how much, or when, or in which direction the file size moves. So we took five photographs out of one real family library, saved each of them fifty times over at three different quality settings, and measured every generation against the original. The answer is not the one in the warnings. Nearly all of the damage arrives on the very first save — and at the common setting of quality 85, that first save made two of the five files substantially larger.

Already recognize your own library? You can try it on your photographs now.

Free Test Drive Buy Now

The save nobody thinks about

You straighten a photograph that was always slightly crooked. You press save. Later you crop a stranger out of the left edge and save again. A year after that you turn a sideways one the right way up, and save a third time. Nobody experiences these as three acts of destruction. They are three small improvements.

Meanwhile the warning that saving a JPEG again loses quality is repeated so constantly, and quantified so rarely, that it has stopped meaning anything. Some people take it to mean a photograph can survive two or three saves. Others treat it as a reason never to touch a file at all. Neither group has usually seen a number.

The question is not whether re-saving a JPEG loses something. It does. The question is how much is lost on the first save compared with the hundredth, whether the loss is visible, whether the file gets smaller as a result, and which everyday actions are quietly a save when they look like something else.

So we measured it, on real photographs out of a real library rather than on a test chart, and the shape of the answer turned out to be more useful than the warning.

What a save actually does

A JPEG does not store pixels. It stores a description of the picture broken into eight-by-eight blocks, with each block described by a set of coefficients saying how much fine detail, medium detail and flat color it contains. Those coefficients are then divided down by a table of numbers and rounded off. The rounding is the compression, and the rounding is irreversible. The table is called a quantisation table, and it is stored in the file.

When a program opens that file, it undoes the division and rebuilds a grid of pixels — but it rebuilds them from the rounded numbers, so what it hands to the screen is already an approximation. When the program then saves, it divides and rounds the approximation a second time, with whatever table its own quality setting produces.

Two things follow, and they are the whole article.

If the second table is the same as the first, almost nothing moves. The numbers are already sitting on that grid; rounding them to the same grid leaves them where they were.

If the second table is different in either direction, something moves. A coarser table throws away detail that survived the first pass. A finer table cannot bring back what the first pass discarded, but it will faithfully record the blocky approximation it was given, in more bytes than before.

Everybody has heard the first half of that. The second half — that asking for higher quality costs you space and buys you nothing — is the part that does not get repeated.

Five photographs, saved fifty times

We took the first photograph of a reasonable size from each of five year folders in one family library, spanning a compact camera from 2005 through to a phone from 2024, and put each one through fifty generations: save it, then save the saved copy, then save that, fifty times over. Every generation was compared back to the untouched original, not to the generation before it, so the figures are cumulative damage rather than step-by-step drift. The whole run was done three times, at quality 75, 85 and 95.

The five photographs, measured 3 November 2026
YearPixelsSize as foundQuality setting it most closely matches
20052048 × 15361,391 KBnear 95
20122592 × 1552782 KBexactly 80
20173840 × 21601,363 KBexactly 85
20214608 × 34561,141 KBnear 65
20243072 × 4096595 KBnear 75

The damage figure used throughout is the average amount each color value moved, out of 255. A figure of 1 means the typical pixel shifted by one step in 255 — invisible. A figure of 3 is still not something most people would notice side by side, but it is a hundred times more movement than a figure of 0.03.

Nearly all of it happens on the first save

Here is the result that contradicts the way the warning is usually told. At quality 85, the difference between saving once and saving fifty times is almost nothing.

Cumulative damage against the original, quality 85
YearAfter 1 saveAfter 10After 50Share of the total done by save one
20052.7003.0503.06388%
20120.7510.7730.77397%
20170.0360.0840.09538%
20210.2420.2440.24499%
20240.2010.2040.20499%

Three of the five were finished after one save. On two of them the forty-nine saves that followed added 0.002 and 0.003 out of 255; on the third, 0.022. The reason is the mechanism above: once a file has been through a given table, it is sitting on that table’s grid, and rounding it to the same grid again changes nothing. The picture reaches a resting place and stops.

Quality 95 behaves differently, and this is the one case where the old warning is right.

Cumulative damage against the original, quality 95
YearAfter 1 saveAfter 10After 50Share of the total done by save one
20051.6872.7963.27552%
20120.4040.7820.79951%
20170.2420.3450.41259%
20210.1050.1340.13578%
20240.1060.1380.14175%

At quality 95 the grid is fine enough that each pass nudges values slightly without ever settling, and fifty passes roughly double the damage of one. The 2005 photograph is the clearest case: one save moved it by 1.687, and fifty moved it by 3.275. Note where it ended up. Fifty saves at the careful setting of 95 did more total damage to that photograph than fifty saves at 85.

And there is a second thing the averages hide. On the 2024 photograph at quality 85, the average change after fifty saves was 0.204 out of 255 — invisible by any measure. The worst single color value in the same file had moved by 33. After one save it had moved by 7. The typical pixel stops moving; a small number of them keep going. Whatever is in those pixels is probably an edge, and edges are where people look.

The recipe already inside the file

Because the quantisation table is written into every JPEG, you can read a photograph’s own recipe straight out of it. We did that for all five, and compared each table against the tables the same encoder produces at ten standard settings.

Two of the five matched a standard setting exactly, entry for entry across all sixty-four numbers: the 2012 photograph matched quality 80, and the 2017 photograph matched quality 85. The other three did not come close to any setting we tried. The 2021 phone photograph’s nearest match was 65 and still differed by 393 across the table; the 2024 photograph’s nearest was 75, differing by 226. Those two cameras use tables of their own that no ordinary quality slider reproduces.

That exact match is what explains the strangest number in this article. The 2017 photograph re-saved at quality 85 came back with 97.7% of its pixels completely unchanged and an average movement of 0.036 out of 255. It was already at quality 85. Asking for quality 85 asked for what was already there.

The only genuinely cheap save is the one that asks for exactly the table already in the file — and nothing in any Save dialogue tells you what that is. The 2012 photograph was stored at quality 80. Saving it at 85, a higher setting, still moved 55.9% of its pixels, because 85’s table is a different table, not a superset of 80’s.

This is why “just save at high quality to be safe” is not the reassurance it sounds like. Unless the number you pick lands on the one already in the file, you are re-rounding the picture no matter which direction you move.

The save that makes a photograph bigger

The assumption buried in most advice is that saving again shrinks the file, because compression shrinks files. For the older photographs that is what happened. For the newer ones it was the opposite, and not by a small margin.

File size after one save, against the size as found
YearAs foundSaved at 75Saved at 85Saved at 95
20051,391 KB518 KB (−63%)685 KB (−51%)1,216 KB (−13%)
2012782 KB443 KB (−43%)501 KB (−36%)685 KB (−12%)
20171,363 KB941 KB (−31%)1,133 KB (−17%)1,604 KB (+18%)
20211,141 KB1,134 KB (−1%)1,385 KB (+22%)1,939 KB (+70%)
2024595 KB658 KB (+11%)744 KB (+25%)1,050 KB (+76%)

Look at the bottom-left corner. The 2024 phone photograph, saved at quality 75 — a setting most people would describe as noticeably lossy — came back 11% larger than it started, having moved 38.1% of its pixels. It got worse and it got bigger at the same time. The camera had already compressed it harder than 75 would, so the save could only take detail away and spend bytes doing it.

At quality 95 the 2021 photograph grew from 1,141 KB to 1,939 KB. Nothing was added to the picture. The extra 798 KB is a careful transcription of the blocks the phone had already flattened.

This matters practically because the two actions people take to protect photographs — saving at a high quality setting, and converting old files into a newer format “to future-proof them” — both spend space recording damage that already happened.

Four rotations do more damage than fifty saves

Turning a photograph the right way up feels like the most innocent operation there is. The picture is unchanged; only its orientation moved. If the program does it by re-encoding, that intuition is wrong, and we can say by how much.

We rotated each photograph through ninety degrees four times, saving each time, so it finished exactly where it started and could be compared against the original directly. That is the fairest possible version of the test.

Four rotate-and-save rounds against fifty plain saves, quality 85
Year1 plain save50 plain saves4 rotations
20052.7003.0633.066
20120.7510.7730.833
20170.0360.0950.329
20210.2420.2440.284
20240.2010.2040.281

In all five photographs, four rotations did more damage than fifty saves. On the 2017 photograph they did three and a half times as much. The reason is the eight-by-eight blocks: a rotation moves the picture relative to the block boundaries, so every round cuts the image into a fresh set of blocks and rounds a fresh set of coefficients. The file never gets to settle onto a grid, which is exactly what plain re-saving allows it to do.

At quality 95 the comparison reverses for three of the five, because fifty high-quality saves accumulate enough on their own to overtake four rotations. The practical point survives either way: a rotation that re-encodes is not a free operation, and it is the single most common way an ordinary person re-encodes a photograph without realising they have done anything at all.

The saves that are genuinely free

There are two honest escapes from all of the above, and both are long-established.

A transformation that never decodes the picture. The reference tool here is jpegtran, part of the standard JPEG library that a great deal of other software is built on, and its documentation is unusually blunt about why it exists. It “works by rearranging the compressed data (DCT coefficients), without ever fully decoding the image. Therefore, its transformations are lossless: there is no image degradation at all, which would not be true if you used djpeg followed by cjpeg to accomplish the same conversion.” The same documentation is equally clear about the limit: it “cannot perform lossy operations such as changing the image quality.” Rotation, flipping and certain crops can be done this way. Brightness, color and straightening by an arbitrary angle cannot.

An editor that never overwrites the original at all. This is now the default behavior of the two biggest consumer photo libraries. Apple’s guide to editing in Photos on Mac states it directly: “When you change a photo or video, Photos keeps the original so you can always undo your changes and revert to the original look”, with the escape route being to “select the photo or video, then choose Image > Revert to Original or click Revert to Original in the editing toolbar.” Google Photos works the same way on the web, where undoing an edit is Edit, then Revert, then Save, and where an edit to a shared photograph can be kept private by choosing Save copy instead.

Neither of these is a trick. In both cases the edits are stored as instructions and the original file is left alone, which is why the revert is instant and complete. It is also why exporting out of such a library is the moment the save actually happens — and why Google Photos warns that editing a raw file in its own editor means “your photo converts to a JPEG and opens in the Google Photos editor.”

The practical reading: if the photograph lives in a library that keeps originals, the number of times you edit it does not matter. If you are opening files from a folder in a general-purpose image editor and pressing save, it does.

The part specific to dates

Everything above is about pixels. A save moves two other things at the same time, and both are easier to lose than the picture.

The first is the camera information block, which holds the capture date, the camera model, the orientation note and, where present, the location. Whether a save carries that block across is a decision each program makes, and a good many image libraries drop it unless they are explicitly told to keep it. Our own re-saves came out without it, because that is the default of the encoder we used. Nobody announced it; the files simply arrived with nothing in them.

The second is the file’s own modified timestamp, which a save always updates to now. A great many programs sort by that timestamp when there is nothing better, so a batch of re-saves can leave a folder of photographs correctly dated inside and completely rearranged outside.

The order in which these go wrong is worth knowing. The pixel damage from a single save is usually invisible. The date damage from the same save is permanent, immediately visible in any sorted view, and far harder to repair, because the original date was the only record of when the photograph happened.

Five things widely repeated that are wrong

“Every time you open a JPEG it degrades.” Opening does nothing at all to the file. Only writing does. A photograph you view a thousand times and never save is byte for byte the photograph you started with.

“A JPEG survives about three saves.” Not in anything we measured. At quality 85, three of the five photographs had done 97% or more of their total damage in one save and barely moved across forty-nine more. The question is not how many saves. It is which setting the saves are at.

“Saving at maximum quality is always safest.” It is safest for the pixels on the first save and worst on every other measure. It is where the damage keeps accumulating across generations instead of settling, and it is where the file grows most: one 595 KB photograph came back at 1,050 KB with nothing added to the picture.

“Re-saving makes files smaller.” In six of the fifteen combinations we measured, the file got bigger, by up to 76%. The newer the photograph, the likelier that is, because phones already compress harder than most quality sliders go.

“You would see it if it mattered.” An average movement of 0.2 out of 255 is not visible to anybody. In the same file, after the same fifty saves, the worst single value had moved by 33. Averages are the wrong instrument for damage that concentrates on edges.

What to do, in the order that helps

1. Edit in something that keeps the original. Both Apple Photos and Google Photos do this by default, and it removes the whole problem rather than managing it. The number of edits stops mattering because the file underneath is never rewritten.

2. If you must edit a loose file, do all the work in one sitting and save once. The cost is overwhelmingly in the first save, so two saves in a row cost barely more than one. Six separate sittings over six years are different: each one re-rounds a slightly worse starting point, and a rotation in the middle of them costs more than all the rest.

3. Rotate with something that does it losslessly. Rotation and flipping are the operations that can genuinely be free, and they are also the ones people do most casually. Four re-encoding rotations cost more than fifty plain saves in every photograph we tested.

4. Do not raise the quality setting to protect a photograph somebody sent you. Nothing comes back, and the file grows to record the damage in detail. If you are re-saving something already compressed, matching roughly what it arrived at wastes the least.

5. Check the dates after any bulk operation. This is the part that is hard to undo. Before re-saving a folder, know whether the tool keeps the camera information block, and know which date your photo software sorts on, because the save will have changed the other one.

Where this comes from

Every save spends a little of the picture

Re-saving a JPEG throws away detail you cannot get back, and the tool doing it rarely says so. Work on copies and keep the master untouched.

Free Test Drive Buy Now

How we measured

Five photographs, not a sample of the world. They were chosen mechanically rather than picked: the first readable JPEG of at least 400 KB in each of five year folders of one family library, for 2005, 2012, 2017, 2021 and 2024. That gives a spread of eras and cameras and nothing more. Any single photograph’s figures are about that photograph.

Each generation re-encoded the generation before it, which is what happens when a person opens, changes and saves the same file repeatedly. Generations 1, 2, 3, 5, 10, 25 and 50 were each compared with the untouched original, so every figure is total damage since the camera rather than the step from the previous save. Both images were scaled to the same width, at most 1,600 pixels, before comparing; that smooths the very finest differences, so the figures here are conservative rather than inflated. The damage figure is the mean absolute difference per color value out of 255. “Moved” counts any value that changed at all, and “worst” is the largest single change.

The quantisation tables were read directly out of each file by walking its marker chain, and compared against the tables the same encoder produced at ten settings between 60 and 97. “Exactly 85” means all sixty-four numbers matched; the distances quoted for the other three are the summed difference across those sixty-four numbers. A different encoder would produce different tables at the same nominal setting, which is part of the point: the number on a quality slider is not a standard.

All of this used one named encoder, the libvips and libjpeg-turbo stack, so the figures describe its behavior and not every program’s. We did not test any consumer application’s saving behavior and nothing above should be read as a claim about one. Nothing was written into the library at any point: every copy was made in a scratch folder outside it, and the folder was deleted when the run finished.

Frequently asked questions

Does saving a JPEG again lose quality?

Yes, but far less evenly than the warning suggests. In our measurements almost all of the loss arrived on the first save: at quality 85, three of five photographs had done 97% or more of their total damage after one save and barely moved across the next forty-nine. The reason is that a JPEG stores a table of rounding values, and once the picture has been rounded to that table, rounding it to the same table again changes almost nothing. The loss is real and permanent, but it is a one-off payment at a given setting rather than a toll charged every time.

How many times can I save a JPEG before it looks bad?

There is no such number, and the question points at the wrong variable. One of our photographs went through fifty saves at quality 85 and finished with an average change of 0.204 out of 255, which nobody could see. The same photograph saved once at quality 75 moved more than twice as far. Which setting the save uses, and whether the operation re-cuts the image into fresh blocks, matter far more than the count. Fifty saves at a matched setting cost less than a single save at a lower one.

Does opening a photo damage it?

No. Opening and viewing a JPEG reads the file and leaves it exactly as it was. Nothing is written back. The confusion usually comes from programs that silently save on close, or that re-save a file when you rotate it in a viewer, or that regenerate previews in a way that looks like activity on the file. If a program has not written to the file, the file has not changed, and you can confirm that by checking whether the modified timestamp moved.

Should I always save at maximum quality?

Not automatically. Maximum quality is the gentlest on the pixels of a single save, but it has two drawbacks that are rarely mentioned. It is the setting at which repeated saves keep accumulating damage instead of settling — across fifty generations our 2005 photograph finished worse at quality 95 than at 85. And it makes files substantially larger when the photograph was already compressed, because the encoder faithfully records the approximation it was handed. One 595 KB phone photograph came back at 1,050 KB with no more detail in it than before.

Why did my photo get bigger after I saved it?

Because the quality setting you saved at asked for finer detail than the file actually contained. Phone cameras compress aggressively, and their own rounding tables are often coarser than a quality slider set to 85 or 95 will produce. The encoder then spends bytes describing the flattened blocks it was given in high fidelity. In our measurements a 2021 phone photograph went from 1,141 KB to 1,939 KB on a single save at quality 95, and a 2024 one went from 595 KB to 1,050 KB. Neither picture gained anything.

Does rotating a JPEG lose quality?

It depends entirely on how the program does it. A lossless rotation rearranges the compressed data without ever rebuilding the picture, and costs nothing; the standard tool for it describes its transformations as having “no image degradation at all”. A rotation that decodes the picture, turns it and re-encodes does cost something, and more than people expect: in our test, four rotate-and-save rounds did more damage than fifty plain saves in all five photographs, because each rotation re-cuts the image into a fresh set of blocks. Viewers that simply change the orientation note write no pixels at all.

How can I tell what quality my photo was saved at?

The rounding table is stored in the file, so it can be read out and compared against what a given encoder produces at each setting. Metadata tools and several image utilities report an estimated quality this way. The estimate is only ever relative to one encoder’s idea of the numbers, and plenty of cameras use tables that match no standard setting at all — two of our five were nearest to 65 and 75 but differed substantially from both. Two others matched 80 and 85 exactly.

Does re-saving a photo lose the date?

It can, and this is usually the more serious loss. The capture date lives in the camera information block alongside the model, the orientation note and any location, and whether a save carries that block across is each program’s own decision. Several widely used image libraries drop it by default. Separately, a save always updates the file’s modified timestamp to the moment you saved, and many programs fall back to that timestamp for sorting. So a re-saved folder can end up in the wrong order even when the capture dates survived.

Is it safer to convert my photos to PNG or TIFF?

Converting stops further loss but does not undo any. A JPEG turned into PNG or TIFF keeps exactly the pixels it had at that moment, including every block edge and flattened gradient already baked in, and the file becomes several times larger to store them. That is a reasonable thing to do with a working copy you are about to edit heavily. It is a poor thing to do with a library, because it multiplies the storage and discards the camera information block unless the converter is careful to carry it over.

What is a non-destructive edit?

It means the program stores your changes as a list of instructions and leaves the original file untouched, rebuilding the edited version each time it shows it to you. Apple Photos describes keeping the original so you can always revert to the original look, and Google Photos offers the same revert on the web. The practical consequence is that editing the same photograph a hundred times in such a library costs nothing at all, because there has only ever been one save: the one the camera did.