• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Does a "Non-Destructive" JPG exists?

Explorer ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

Hope somebody can help me with this.

A long time ago (maybe a year) I got an image from a customer and from what I remember it was a JPG file, but there was an option to restore the image back to it's original state. At least that is the way I remember it, but I can't recall what it was. So I hope somebody can help me.

In my recollection it was a JPG and when I clicked on 'something' the edit which was done to the image was corrected back to the original file.  So, something was done to the image, but it still was saved as a JPG but when I opened it I could turn the edit back.

I'm sure it wasn't an PSD or TIFF which contained the original file in a layer. I'm pretty sure it was a JPG and I was surprised that a JPG could be brought back to the original state.

Someone?

TOPICS
Windows

Views

339

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

No such thing.

 

Jpeg compression is always destructive and non-reversible. No exception.

 

There are "de-jpeg" algorithms to remove/restore the artifacts, with varying success. Photoshop has an ai based de-jpeg neural filter, which is reasonably effective. But of course, it's still guessing, just making better guesses.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

Maybe it was a DNG file-type.

A DNG file ( If converted from a raw camera file) can contain the raw data and editing metadata that is recognised in Adobe Photo apps, and can be re-edited (back to original state).

 

Regards. My System: Lightroom-Classic 13.4, Photoshop 25.9.1, ACR 16.4, Lightroom 7.4, Lr-iOS 9.0.1, Bridge 14.1.1, Windows-11.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

I'm pretty sure it was a JPG. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

Is it possible to save a file as a JPG with a 'layer-construction'? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

No. Jpeg is single layer.

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

There can be non-destructive editing of a JPG file, which is how Adobe Camera Raw, Lightroom, and how many newer consumer and mobile apps do it such as Apple Photos.

 

Although the JPG file itself will undergo degradation if edited and then saved back to the same file, that can be avoided if the edits are stored separately from the image file as metadata, such as in a database. By storing the edits separately, it’s possible to “revert” the JPG to its original state. But that’s not what really happened, the reality is that the edits were never actually applied to the original JPG.

 

This is how it works on an iPhone, for example. If someone sends me a JPG and I edit it on my iPhone, it’s always possible to snap it back to its original state because it silently created a copy that is shown to me as the edited version. I just have to tap the Revert button, and it swaps the original back in to show me.

 

Because this question was posted in the Photoshop community, the first thing to say is that this is not something you can do with Photoshop. If you edit a JPG in Photoshop and save that, the original pixels are directly edited and so saving that slightly degrades the image after JPEG compression is re-applied. An alternative is to open the JPG, edit it (maybe after saving that as PSD or TIFF as you mentioned), save/export a JPG copy, and don’t save changes to the original JPG. But then you would be aware that you are now managing multiple files. The way you get back to the original is to use it instead of the copy.

 

If Adobe Camera Raw or Lightroom were used, those work like Apple Photos: They store and render the edits separately from the original image file, so to see the original again you just revert (throw out) the edit metadata.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

@Conrad C @davescm @Rob_Cullen @D Fosse 

Thanks for your replies. Unfortunately I can't remember what the "trick" was. I am 100% sure it was a JPG because I remember thinking: "Wow, never knew that was possible with a JPG-file".

There is also no such thing as saving a 'Smart Object" as a JPG-file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

quote

There is also no such thing as saving a 'Smart Object" as a JPG-file?

No. 

Edit: To clarify, one can embed a jpg as a Smart Object in an image but that image can itself not be saved as a jpg as it has more than just one Background Layer. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

So frustrating,.....I'm 100% sure it was a JPG the client send to me. But unfortunately I can't remember the 'trick' it had inside.......The only thing I remember is me thinking: "Wow, didn't know that was possible with a JPG" (and I'm working with Photoshop for over 15 years). 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

Can you post screenshots taken at View > 100% of the jpg-image and the »restored« image for comparison? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

I wish I could. But it's been too long ago, so I don't remember which photo it was  ( I also already contacted two of my customers if they can remember it, but unfortunately they can't remember it as well). 

I know this thread must be strange for some people, but again, I'm 100% sure it was a JPG file which was editable in a way that I didn't know it was possible. Just a simple trick. It's better to close this thread because I have too little information. 

I was hoping someone would have known what I meant. My fault that I can't provide more information.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

 
I'm 100% sure it was a JPG file which was editable in a way that I didn't know it was possible. 
By @Marc VanZ

 

The only remote possibility is to edit the jpeg in ACR. Right-click in Adobe Bridge, then select "edit in ACR". 

 

 

It's better to close this thread because I have too little information. 
By @Marc VanZ

 

To close the thread, you can mark one or more answers "Correct".

 

Jane

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

quote

I'm 100% sure it was a JPG file which was editable in a way that I didn't know it was possible. Just a simple trick. It's better to close this thread because I have too little information.


By @Marc VanZ

 

Actually, there is all the information you need here. Jpeg compression is not reversible. It's not in the algorithm, it's not possible. That's it.

 

Yes, you can edit a jpeg non-destructively, as long as you stay within that application. But the jpeg cannot leave that application in a non-destructive way - except by saving it out in a different file format, or by opening it in the same application, e.g. ACR which stores metadata in the file header.

 

But you cannot get that jpeg out of ACR, as a jpeg, without a new destructive compression.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

Pure formality: 

I recall reading that JPEG theoretically provides an option for lossless compression but the jpg-files we use are jfif and employ the lossy compression we generally mean when we say »jpg«. 

 

Quote from 

https://en.wikipedia.org/wiki/JPEG

»The JPEG standard includes a lossless coding mode, but that mode is not supported in most products.«

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

LATEST

Almost no file format will allow perfect reversion to pre-editing state. For example, what if you cropped half of the image out? You'd need a file that had both the original and the final saved version. You CAN do that with a DNG file that contains non-destructive edits from ACR/Lightroom, but otherwise no.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines