Skip navigation
This discussion is archived
Currently Being Moderated

How to remove XMP info from DNG files?

Jun 16, 2009 12:04 AM

The XMP information is stored within the DNG file.

How can I remove it to get the untampered-with, original state in which it was safed in the first place?

I sometimes get DNG files of unknown previous history and would like to start from the virginal file.

 
Replies
  • Currently Being Moderated
    Jun 16, 2009 4:34 AM   in reply to willyengland

    willyengland wrote:

     

    The XMP information is stored within the DNG file.

    How can I remove it to get the untampered-with, original state in which it was safed in the first place?

    I sometimes get DNG files of unknown previous history and would like to start from the virginal file.

    Exiftool can be used to remove XMP metadata.  If you're on a PC based system or a Mac system with Bootcamp or Parellels/VMWare Fusion installed then ExifToolGUI provides a simple to use interface to Exiftool.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 5:58 AM   in reply to willyengland

    Just go to the flyout menu on the right side and choose Camera Raw defaults.

     

     

    Thank you, EXIFtool works well!

    I am still wondering if this is not possible within ACR.

    DNG is an Adobe created format after all.

    I think an "Open without XMP data" option would be nice.

     

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 6:10 AM   in reply to willyengland

    The crop is an exception. You can reset that, too.

     

    In fact, you can just create a preset called "reset everything" ...

     

    Eric

     

     

    But that does not reset e.g. a crop. It doesn't reset everything.

     

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 6:40 AM   in reply to willyengland

    How do I reset a crop?

     

    Go to the Crop tool, click and hold on the icon, and choose Clear Crop.

     

     

    How do I do a "reset everything"?

     

    Depends on what "reset" means. If "reset" means to use the Camera Raw

    defaults for this particular camera model, then choose "Camera Raw Defaults"

    from the flyout menu and do the Clear Crop step mentioned above.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 8:39 AM   in reply to willyengland

    The rotation is reset when you clear the crop (see post above).

     

    Again, when you receive a batch of DNGs that you want to reset, just open

    them all up in the film strip in ACR, select them all, choose Camera Raw

    Defaults, click the crop tool and choose Clear Crop, then click Done ...

     

    In general, however, it is not possible to get the state you want. Other

    software can tamper with the DNG before ACR gets it, and ACR has no way of

    knowing what the "original untampered" DNG file looks like. For example, if

    a user gives you a DNG that has been exported from, say, Capture One or DxO,

    some image corrections/adjustments have already been baked into the result

    (i.e., the pixel data itself).

     

     

    I noticed that rotation is also not resetted.

    Perhaps there are other things from other converters that are not resetted,

    too.

    What I need is a safe way to make sure that I have the original untampered

    with DNG file.

    I don't see this atm in ACR.

    The above EXIFtool solution works but is also not fully optimal, since I loose

    the information.

    What I think would be optimal is to have an option "open file without

    utilizing the xmp settings".

     

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 8:52 AM   in reply to MadManChan2000

    Jumping in here...What about selecting DNGs in Bridge, right-clicking and selecting Clear Settings, then Camera Raw Defaults?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 9:45 AM   in reply to Jumping Walrus

    Yep, that'll do it too...

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 12:37 PM   in reply to willyengland

    willyengland wrote:

     

    What I need is a safe way to make sure that I have the original untampered with DNG file.

    I don't see this atm in ACR.

    One of the reasons Exiftool exists is because no single software vendor can be expected to support everything someone might wish to do with photo metadata--they need to focus on their main product.  A specialized tool such as Phil Harvey has provided does an excellent job meeting that need.  By learning Exiftool one doesn't have to worry too much about what an individual program might or might not support in the photo metadata realm.

     

    willyengland wrote:

     

    The above EXIFtool solution works but is also not fully optimal, since I loose the information.

    Don't forget that Exiftool can be used to copy the metadata to a file before one removes it.  It is also possible to automatically create a backup of the original before the metadata is removed.  The 'copy original' function creates a file that is as large as the original while just extracting the metadata usually creates a much smaller file.  One's needs specify which route to take, but both are available.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2009 4:25 PM   in reply to willyengland

    willyengland wrote:

     

    What I need is a safe way to make sure that I have the original untampered with DNG file.

     

    Your definition of "untampered with" isn't really accurate..there will ALWAYS be some sort of XMP metadata in a DNG file. You seriously don't wanna be going in and messing with xmp metadata blocks unless you know what you are doing (and can tolerate screwing up the files).

     

    You seem to be indicating that you want to start from scratch and ignore anybody else's parametric settings in the file, correct? It would be useful to know why...if it's a matter of image provenance or being able to document the changes, that may be useful. But if it's simply that you don't think the image adjustments are correct and you want to start fresh, that's another thing entirely.

     

    In either case, if somebody went to the trouble to make image adjustments including crop, and those are THEIR images, it's kinda rude to be stripping them out don't ya think (I sure as heck would want anybody stripping out adjustments to MY images supplied as DNG).

     

    In this case I really don't think you want to completely strip the parametric adjustments completely. I suggest you create a snapshot of the state of a file you are given, then reset to Camera Raw default and reset the crop and do another snapshot. Then you'll have a before/after of the supplied settings and your settings without having to throw the original settings completely out...note, this is presuming you are using Camera Raw 5.2 or above as that's when snapshots went into Camera Raw.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points