46
\$\begingroup\$

I'm aware of the difference between RAW and DNG file formats. The RAW format is proprietary to the camera manufacturer while DNG is an open standard. DNG files can be compressed without loss of detail, and can also include the photo metadata within. Both can be edited in Photoshop.

Would DNG be considered widely used today? I have a library of photos in NEF (Nikon D50) format that I have been contemplating whether to convert.

\$\endgroup\$
3
  • \$\begingroup\$ Thanks for the feedback. I get the impression this is not something not to be rushed into, so I will sit on it for now, and investigate further. \$\endgroup\$ Jul 21, 2010 at 17:07
  • \$\begingroup\$ Only you can tell if it's worthwhile for you or not, so I'd suggest to reword the question to "what are the pros and cons of switching to DNG?". \$\endgroup\$
    – Karel
    Aug 4, 2010 at 5:54
  • \$\begingroup\$ If your reason for switching to DNG is that future software will better support it, that is almost certainly not true - there is a wealth of RAW editors out there and they support pretty much every manufacturer's RAW formats, and there are even open source RAW editors where this support has publicly available source code. \$\endgroup\$ May 7, 2015 at 4:31

8 Answers 8

11
\$\begingroup\$

Whatever you do, do not throw away your original RAW files. DNG is not a replacement for them. Perhaps your workflow requires you to convert into DNG's, but for the love of god do not throw away the originals.

If you do, then one day you will find that you will want to use a piece of software that doesn't support the DNG format as input.

\$\endgroup\$
16
  • 5
    \$\begingroup\$ ... and at this point, there's really no point to having used DNG if you're also keeping the RAW files around. \$\endgroup\$
    – ahockley
    Jul 15, 2010 at 21:32
  • \$\begingroup\$ There might be, if you work for a company that uses a DAM system that works better with DNG's. \$\endgroup\$ Jul 15, 2010 at 21:34
  • \$\begingroup\$ @Dave, "If you do, then one day you will find that you will want to use a piece of software that doesn't support the non-DNG format as input." seems more likely. Are proprietary formats really more supported than the open ones? \$\endgroup\$ Jul 17, 2010 at 3:50
  • 11
    \$\begingroup\$ Curiously, I thought the idea behind DNG was future-proofing your files? \$\endgroup\$ Jul 18, 2010 at 1:38
  • 1
    \$\begingroup\$ @Sirber: I don't see how that is an advantage, today. \$\endgroup\$ Aug 5, 2010 at 5:14
7
\$\begingroup\$

agreed on not throwing away the original raw; Many import systems allow you to embed the RAW inside the DNG, so it's there if you need it; I personally do that on all of my images.

I use DNG primarily because that format includes the metadata sidecar as part of the DNG, where for RAW files, the metadata sidecar is generally a separate file. Bundling this all into one file simplifies workflow and makes it difficult to separate the two or lose the metadata, making housekeeping easier and reducing the risk of data loss. That alone made me decide to use DNG. It's convenient and if I ever need to unpack it, there are tools that can do it for me.

\$\endgroup\$
1
  • \$\begingroup\$ +1 I have just made this jump for this exact reason and now have incorporated it as part of my workflow in lightroom 3 \$\endgroup\$
    – Wayne
    Nov 4, 2010 at 10:54
6
\$\begingroup\$

Think this way: maybe in the near future Capture NX may have a nice interface. You start using it but all your original NEF files are gone.

To my acknowledge Capture NX is one of the best sharpener for NEF files. Don't throw away your NEF files.

I was in the same situation as you. I converted all my NEFs to DNG. You know, DNG is "universal", smaller files etc. Big mistake. I wanted to edit some files in Capture NX but I couldn't because they were DNGs. I never converted a single NEF to DNG again.

And do backups of your files. Multiple backups.

\$\endgroup\$
1
  • \$\begingroup\$ This makes sense logically: if you can convert from A to B but there is no way to convert from B back to A, then it is better to keep your files in the A format so you still have that choice. \$\endgroup\$ May 7, 2015 at 4:33
2
\$\begingroup\$

If you're happy throwing away the original RAW files then you can save a little disk space. I've converted CRW (Canon RAW) to DNG and I typically end up with files about 20% smaller with all the information there.

Of course disk space is cheap, and Canon and Nikon RAW formats are likely to be supported for a long time to come.

And Ricoh is another camera manufacturer who supports DNG - though that still leaves it fairly short of being widely supported by camera manufacturers. Though I would assume all major software packages should support DNG.

\$\endgroup\$
1
\$\begingroup\$

Is DNG widely used? Not really. My Pentax K200D supported it, but not very well. Leica supports it in their S2.

NEF is very common (because Nikon is huge), enough so that I'm not worried about it going away. There is open-source software that can interpret current NEFs, so if (for example) Nikon disappeared tomorrow and took away all their software and specs and forbade third parties from creating NEF software, you could still get into the files.

I wouldn't bother converting preemptively.

\$\endgroup\$
3
  • \$\begingroup\$ I use DNG with my Pentax K200D. What wasn't very well supported? \$\endgroup\$ Jul 17, 2010 at 3:40
  • \$\begingroup\$ I believe it was that the camera could not produce compressed DNG (even though it's in the spec), so the PEF files were much smaller. \$\endgroup\$
    – Reid
    Jul 17, 2010 at 3:51
  • \$\begingroup\$ Thanks. I think I'll stick with DNG since space isn't an issue and I hate extra files like side car files. \$\endgroup\$ Jul 17, 2010 at 18:32
1
\$\begingroup\$

It depends on what software you use to store/catalogue your photos. For example Lightroom understands NEF, and I'm perfectly fine with using NEF and not DNG.

\$\endgroup\$
1
\$\begingroup\$

While Diskspace is cheap, RAW files continue to grow as well. My take: Converting to .DNG is not a bad idea at all. Why, because you should have a backup of you images anyways, so why not have a .DNG as a backup that does conserve some space at the same time. I would like to think that .DNG will not go away. It is such a common sense, no-brainer with respect to uniformity across software editors. Over time, if there are competing "open source" file formats, then conversion software will also follow that can convert .DNG to a new format.

Why it hasn't gained widespread acceptance is attributed to the proprietary attitudes of camera manufacturer's and the software they hope to sell to work with and view their "special" formats. I have used many Canon cameras and find that there are many Canon RAW file extensions such as .CR2, .CRW, and some software will not accept both formats, especially with respect to viewers.

\$\endgroup\$
0
\$\begingroup\$

There's also an issue with software freedom:
while DNG is open, it's also patented and non-free, and it might be the reason why many people are reluctant to spend time and resources for it beyond the basics. As a result, DNG(output) is mostly supported in proprietary software, and free software usually only has minimal or even read only DNG support. So if you decide to routinely convert stuff to (losslessly compressed) DNG and later decide to stop using proprietary software, you'll have an unpleasant surprise because you might be unable to continue doing that.

Another possible issue:

Some photographic competitions do not accept converted files, and some do not accept DNG

(source)

Both issues can be sidestepped by keeping original versions too, but then the photos will take twice as much disk space.

\$\endgroup\$
4
  • \$\begingroup\$ The open source programs Darktable, Hugin, RAWtherapee, etc. all support DNG. This is largely because dcraw supports DNG. I love free software as much as the next person, but the assertion about DNG is incorrect. \$\endgroup\$
    – user50888
    Nov 28, 2017 at 17:09
  • \$\begingroup\$ @benrudgers They support reading DNG, but not writing. I wrote about the conversion to DNG. Do you know free software which can output losslessly-compressed DNG? \$\endgroup\$ Nov 28, 2017 at 17:28
  • \$\begingroup\$ All/most RAW files are written by proprietary software because cameras are proprietary systems. The flow to DNG is private proprietary RAW -> agnostic standard RAW. There isn't a compelling use case for going the other way, e.g. DNG -> CR2 and certainly not one grounded in Stallman's philosophy. The analog analog is Kodak's C41 process. It works with C41 film Fuji too...but there isn't an undeveloper that returns Fuli (or Kodak) film to its undeveloped state (though this might be more useful than a DNG reversal since the private proprietary RAW still exists. \$\endgroup\$
    – user50888
    Nov 28, 2017 at 18:43
  • \$\begingroup\$ @benrudgers proprietary software inside cameras is very limited in what kinds of damage it can do (camera can be viewed as a harmless black box), compared to software running on general purpose computers. It (usually) cannot connect to network, vulnerabilities in cameras don't matter, and it doesn't need to be updated to continue to function, so sabotage from vendor is unlikely. On the other hand, if your workflow needs some additional proprietary software running on general purpose computer which typically has access to all your data, etc., that's a different thing. \$\endgroup\$ Nov 29, 2017 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.