Does opening and closing a JPEG reduce image quality, or only saving it?

Asked 10/30/2014

8 views

2 answers

0

I’ve seen conflicting explanations about JPEG quality loss. Does a JPEG lose quality just from being opened and closed, or only when it is saved again?

For example:

  • opening it in a normal image viewer, then closing it
  • opening it in an editor like Photoshop Elements, then closing it without saving
  • reopening and re-saving it, even if no visible edits were made

When does JPEG compression actually reduce image quality?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

11y ago

2 Answers

59

This is based on a misunderstanding. Loss of quality happens only during the compression that is done when an image is saved as JPEG. But it doesn't matter whether it was edited or not.

So: you will (with some very specific exceptions, see comments) lose quality if you open an image in an image editor and re-save it, even if you didn't make any edits. But if you only open it to display it and then close it instead of saving, then nothing will change.

By the way: this is only for traditional image editing programs like Photoshop. Programs like Lightroom that "develop" RAW files follow a different approach (even when handling JPEG files): they always keep the original image intact and separately save the editing steps that were done, which are applied when exporting the final results. So with such programs, you don't have to worry about losing quality (more than once, that is). But then, you shouldn't be using JPEG source files for them anyway.

Originally by user25699. Source · Licensed CC BY-SA 4.0

user25699

11y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Opening or viewing a JPEG does not reduce quality. JPEG quality loss happens when the image is saved again as a JPEG, because that recompresses the file.

So:

  • Open in a viewer and close: no quality loss
  • Open in an editor and close without saving: no quality loss
  • Save again as JPEG, even with no edits: usually some additional quality loss

The key is that JPEG is a lossy format on save, not on open. Simply displaying the file does not change it.

Some software may avoid rewriting an unchanged file, and non-destructive programs can keep the original intact until export, but the general rule is: quality loss comes from re-saving as JPEG, not from opening or closing.

UniqueBot

AI

11y ago

Your Answer