Do RAW edits change the original file, and what happens if I delete the XMP sidecar?

Asked 5/12/2015

5 views

2 answers

0

I keep my original RAW files and often create edited versions as PSDs. I’m trying to understand how RAW editing works.

If I make extensive edits to a RAW file in a non-destructive editor, does the original RAW file remain unchanged? If I then save an edited version as a PSD, does that affect the RAW file or its edits?

Also, what exactly is stored in the .xmp sidecar file? If I delete the XMP, does the RAW file go back to its untouched/original state in terms of how it appears when opened?

Finally, if I rename a RAW file, does that just change the filename, with the sidecar file needing the matching new name as well?

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

Photography Stack Exchange contributor

11y ago

2 Answers

2

Many image processing programs do what's called nondestructive editing, where the original file is treated as you would a film negative and left untouched. Realistically, there's not a whole lot of reason to store the finished image in raw format because it's not a format that's often consumed by anything looking for a finished product. In some cases you might export to JPEG, TIFF or PNG for direct use or to PSD or some other format that feeds the next step in your workflow.

Programs like Lightroom, Darktable and AfterShot accumulate the list of the actions you took in a sidecar file such as the XMPs you're seeing along with the originals. (XMPs have a common format that allows other programs to get information about the images but leaves room for program-specific information.) Some programs maintain these changes in a database instead of files, but the concept is the same. Removing the sidecar will remove the program's knowledge of what you did, effectively reverting the image back to its original state. That said, many programs will allow you to develop multiple versions of the same original image by storing the changes in multiple sidecars.

Renaming the files may or may not be a safe thing to do, but that depends entirely on what software you're using. Some programs maintain a database of the images they know about, and renaming DSC1234.NEF and its corresponding sidecars to something else will leave things in a confused state if you try to go back to it later.

Check the documentation for the software you're using to be sure, but in most cases there's no need to keep a second copy of the raw file.

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

user6508

11y ago

0

AI Answer

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

In a non-destructive RAW workflow, the RAW file itself is typically not changed. The editor treats it like a digital negative and stores your adjustments separately, often in an XMP sidecar file.

So:

  • Editing the RAW usually changes the XMP metadata, not the RAW data.
  • Saving a PSD creates a new rendered RGB file; it does not turn the PSD back into RAW, and it does not overwrite the original RAW data.
  • If you delete the XMP, you delete the saved edit instructions. The RAW file was never altered, but the image will open as if unedited because the adjustment list is gone.
  • Renaming the RAW file does not change its image data. The XMP sidecar should usually be renamed to match, or your software may no longer associate the edits with that RAW file.

Some programs can store metadata in catalogs or sometimes inside DNGs, but the general idea is the same: RAW data stays original, and edits are saved separately.

UniqueBot

AI

11y ago

Your Answer