NEF --- DNG Conversion: Is it lossy or lossless?

I was recently reading on a Nikon Forum where a writer stated that some data is lost when converting to DNG in Lightroom. His comments follow.
I'd appreciate if some of the seasoned experts here would offer an opinion, and hopefully, a rebuttal. Thanks for any information you can share on this subject
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Every compression algorith is flawed if a single bit is lost and the original can not be recreated. Since the DNG converter must know about your camera model and it actually converts the NEF into an image before compressing the image, AND you can not, after converting to DNG convert back to original NEF, it is to me obvious that it is indeed a lossy compression, not just 'simple' data compression like zip, tar or whatever other type of data compression you want to compare with, which is truly lossless.
The Nikon lossless compression works entirely on data compression principle, preserving every bit and recreating every bit of data when you edit the raw image, and that can not be done once the image is converted to DNG. That is why many people, who use DNG, also preserve the original NEF, which in my opinion, is a totally pointless work flow. The only reason I can see to use DNG is the ability to share the image with somebody else who is not able to edit NEF, but I might as well use TIFF in that case.
The DNG converter must have knowledge of the camera model concerned, and be able to process the source raw image file, including key metadata to be able to convert and compress. A real lossless compression algorithm NEVER looks at the contents of the data because it is totally irrelevant for the converter to know what type of data you convert and try to compress, since it is based on mathematical patterns and statistics only.
I look at DNG like I look at PDF. A Word document, especially with photographs in it, can be converted to PDF and it may look like you have not lost anything, but yes, you have lost a lot actually and you can never ever recreate the original Word document with the same quality like you have had in your original.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

727737757 wrote:
The only reason why I convert NEF to DNG is that I like *not* having sidecar files.
A perfectly valid reason to convert to DNG, in my opinion.
And if you are using in Adobe software, you will notice no ill side-effects (e.g. no data loss) whatsoever, so I think you can have full confidence..
But to offer a little more explanation:
The DNG converter needs to know the camera model because it's doing a lot more than "zipping" up the raw data. e.g. it's also creating a camera profile, and interpreting white balance..
Obviously, lossy compression is, well, lossy - I was talking about the lossless compression of raw data, which is 100% perfectly lossless (not a single bit is dropped..).
But if you open a NEF in Aperture, you can see the focus point. If you open the converted DNG, you can't. Not because the focus point information is not in the DNG file, but because it's not in a prescribed place where Aperture can find it - so you could say it's "lost" for practical purposes, although that's not how I think of it.
Cheers,
Rob

Similar Messages

  • Did my NEF to DNG conversion work properly?

    I had read that when I convert to DNG in Lightroom (v4), the file sizes will drop by about 20% (I checked the check box for compression). I'm converting from a batch of 16-bit NEFs I created when scanning slides using the Nikon LS-5000 scanner. Those scans and files were created with Nikon Scan 4.0. After doing the conversion in Lightroom, the DNG file sizes are around 3MB-17MB. The original NEF files were about 135MB. Where in the world did all my data go? I'm concerned that the conversion to DNG threw away a ton of the original data. How is that much of a reduction possible? I'm hoping that there wasn't some catastrophic problem during the conversion, as I also checked the check box to delete the originals after the conversion is finished.
    The image quality seems to be okay when looking at the DNG files in Lightroom.
    Thanks,
    Jay

    I scanned at the full resolution (4000dpi, I think) of the LS-5000. The DNGs all appear to have their full original resolution, 5782x3946. This was one of the first things I thought about, too, but the resolution doesn't appear to have been changed any.
    Jeff, upon re-opening the Convert Photo to DNG dialog box, I see that I did check "Use Lossy Compression." I spaced. I belived I was telling it to use lossless compression (I was assuming that no compression would have been used otherwise). So the conversion makes them into a high-quality JPEG, basically (but still 16-bit)? If I don't check that, will the DNG conversion use lossless compression, or no compression at all?
    These slides are from a few decades to several decades old, all shot by my dad. I'm wondering if I would even see any degradation from using the lossy compression option. 135MB per image seems WAY beyond what is necessary to maintain the quality of these slides, so I would like SOME compression, but don't want to see any clearly visible signs of quality loss. Any words of wisdom welcome.

  • DNG conversion is not lossless...HELP!

    I am being forced to use the dng converter in order to use my colorchecker software. I'd rather not do this at all, but the colorchecker only recognizes the dng format. My original files are NEF and I usually convert them to TIFF to do my research. This conversion, using the nikon software, is compeltely lossless and i have varified this mathematically.  I am using the DNG converter 6.5 to convert my NEF files to DNG and then photoshop CS5 to convert to TIFF. At some point in this process the conversion becomes lossy. Mathematical analysis of the two images (NEF -> TIFF and NEF->DNG->TIFF) shows dramatic differences in pixel values. Any suggestions?

    Have you tried the DNG Converter 6.6. Release Candidate to see if this makes any difference?
    http://labs.adobe.com/downloads/cameraraw6-6.html

  • LR and DNG conversions from NEF

    Just received a batch of Nefs and corresponding dng conversions from a client. I immediately noticed that there was a serious white balance difference between these pairs--LR shows the Nefs at 5600 and the dngs at 7100. Is this typical. I have worked with dngs a few times, but this is the first set of images that I have seen with side by side conversions. Is this typical? Neither the dngs or nefs have been previously edited. I don't normally work with dngs--only when a customer insists.
    Very curious about this WB difference. Any explanations from the color gurus here? TIA

    I was aware that the numbers were relative and would likely be different, but in this case the images are visibly very different--I just gave the numbers to indicate what LR saw them as. When the difference is between 5600 (NEF) and 7100 (dng) one sees a big difference between the cool NEF and the warm dng on the screen. This difference is seen systematically in a batch of about 75 images. LR shows no metadata differences except the WB reading. Could this have resulted from a dng conversion in an older dng converter?

  • DNG conversion fail and Photoshop will not open my NEF files (Newbie question)

    Two part question. First, I just recently installed photoshop CS4 to my (windows vista) computer and I go to upload NEF photos to bridge and I check the box that says "Convert to DNG" and when it finishs uploading it says "Files successfully copied, However, DNG conversion failed." It says it everytime and I don't know what to do about that.
    Second part: I try to open my NEF files in photoshop it says "Could not complete your request because it is not the right type of document." I am using a Nikon D90 and I don't know if that has anything to do with this. I apologize if this question is in the wrong forum, I am new to this and I thought maybe camera raw had something to do with this at least.
    Thanks for any help

    You need to update your Camera Raw plug-in to either version 5.2 or 5.3RC, as well as the new DNG converter. They are available on the Adobe download page, and there are complete instructions for installation available there.

  • .NEF to .DNG conversion - why the weight loss?

    What info is tossed when converting from .Nef > .DNG?
    For example, I just converted a file and the Info says:
    .NEF (15.6MB) > .DNG (10.9)
    Is that one third drop in MB just Nikon encoding? Or is the image affected? 

    Try posting in the DNG forum.  There are separate forums for DNG and for ACR.
    http://forums.adobe.com/community/dng#
    http://forums.adobe.com/community/cameraraw
    (The answer is probably DNG compression; but let the pros there tell you.)

  • DNG Conversion Fails in Camera Download

    I've been using Photoshop CS4, Bridge and ACR for about a year.  I was sold on the Adobe rationale for converting to DNG and have been doing so using the convenient check box on the Photodownloader screen.  It has worked fine the entire time - until now.  Suddenly that no longer works: although the DNG conversion box is checked Bridge only downloads the raw NEF files and reports at the end that it the DNG conversion failed on all of the photos that were downloaded.
    So - here is what I've tried:
    - Rebooted my Windows XP computer ( dual core - which has 4GB of RAM).  Same results - no conversion
    - Reinstalled Photoshop CS4 - and everything on the disk.  Same results - no conversion
    - Downloaded version 5.7 of Camera Raw (just found out there is a 5.9).  However that seems to only update camera profiles - and doesn't change the version that displays on the Camera Raw preferences menu:  5.0.0.178.  Same results - no conversion.
    - Finally I downloaded the free DNG converter.  It works, but I would much prefer to have the download program work
    Any clues to solving this will be greatly appreciated.

    Film4Now wrote:
    …version 5.7 of Camera Raw (just found out there is a 5.9)…
    ??? !!!   Where?  
    Film4Now wrote:
    … the version that displays on the Camera Raw preferences menu:  5.0.0.178…
    That proves you did not install 5.7 correctly and you failed to remove the old 5.0 plug-in.
    Wo Tai Lao Le
    我太老了

  • "There was not enough memory" error, DNG conversion.

    I have CS4 and I like to convert my files to dng, however, I can't seem to do it on multiple raw files, because after fifty or so, I get the message, Incomplete because 'There was not enough memory.'
    I originally thought this may have had something to do with Bridge and trying to save way too many files through acr in bridge, since bridge is a bit of a ram hog at times and has cache issues, so I tried using the Adobe DNG Converter standalone application, and the same thing happened.
    I am trying to convert just over a thousand images, NEF, about 15M each.  I have several hundred gigs of HD space, GeForce 8600GT video, 2G ram, WinXP SP2.
    I track my actual memory usage and adobe dng converter has never used more than 6MB of memory.
    Anyone know why I can't convert my files?

    I want to try to reproduce this problem, a few questions...
    Which version of the DNG converter did you use (the latest is 5.5)?
    What camera produced the NEFs?
    What NEF settings did you use, if any, compressed, uncompressed, 14-bit, etc.?
    What DNG conversion settings did you use?
    Did the NEFs already have settings (XMP sidecar files?). If you did have settings, what kind of settings, just basic adjustments, or did the settings also include localized corrections, spot heals, etc.?
    Thanks,
    David

  • Converting Lossy to Lossless (you heard that right)

    This may seem like a strange question, but…
    I am converted all of my CD’s to Lossless format. I also havesome AAC files that I purchased online. Lastly, I have some MP3s in which I have no high res format original (Lossless).
    I know converting Lossless to Lossy will degrade the soundquality some. However, what if someone were to convert Lossy to Lossless? I know it would be a bigger file and no better sound, but would the conversion make the sound worse WORSE because the file is disorted?
    Thanks!
    Otto

    It will not make the sound worse, but as you yourself say, there will be no benefit to doing such a conversion.
    BTW, this forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. Normally you will get the quickest and most applicable responses if you ask your questions in the general iTunes forums.
    Regards.

  • Converting Lossy to Lossless (you read that right)

    This may seem like a strange question, but…
    I am converted all of my CD’s to Lossless format. I also havesome AAC files that I purchased online. Lastly, I have some MP3s in which I have no high res format original (Lossless).
    I know converting Lossless to Lossy will degrade the soundquality some. However, what if someone were to convert Lossy to Lossless? I know it would be a bigger file and no better sound, but would the conversion make the sound worse WORSE because the file is disorted?
    Thanks!
    Otto

    Thank you. I wasn't trying to yield better sound. I just wanted to make sure that the conversion didn''t cause further degradation to the sound. As long as it stays the same, that is what I am looking for. Thanks again.
    Otto.

  • File size loss:  .NEF .DNG

    I lose about one third of my total file size when .NEF's are converted to .DNG.
    Is this Nikon coding, compression or? Wondering what kind of quality hit this
    causes. Got started on .DNG conversion, having 2d thoughts.

    Also noticed I can open .DNG in CS4 and use the distortion tool on it, unlike .NEF's.

  • DNG conversions not opening

    I dusted off an old Toshiba laptop that has a copy of CS4 Photoshop and the newest DNG Conversion software (v8.8). Pointed the DNG at a folder of RAW files (Olympus ORF), converted them, opened them in ACR and saved the files that are now .dng files in Bridge...but CS4 won't open them, says it doesn't support this file type. How can Adobe Photoshop not open an Adobe file type? I thought DNG made all RAW files backward compatible for Photoshop going back to the beginning of time. Any ideas, suggestions, solutions?

    I got a couple of sample raws and converted them on the mac side using the 8.8 dng converter and they seem to open on both photoshop cs4 on mac and windows xp
    Did you check to make sure both your photoshop cs4 versions have camera raw installed and are updated to camera raw 5.7?

  • DNG conversion fails sporadically with Get Photos From Camera

    Camera: Canon 40D and 5D
    XP SP2
    CS3
    Bridge 2.1.1.9
    ACR 4.4.1
    DNG Converter 4.3.1
    Importing my files to Bridge using the Get Photos from Camera (GPFC) option results in sporadic DNG conversion failure. There's no pattern, just a lump of files that don't get converted at the end of the process. It's very frustrating because I have to manually go back and find the files that failed and use GPFC option again. Even then sometimes it fails again!
    I'm attached to using the GPFC option instead of the standalone DNG converter because GPFC lets me automatically make a backup file to another disk and adds a template. But even when I use DNG Converter to import the files off my card, DNG fails for some of the files. Purging the cache only works half the time and for some of the files.
    Is there any solution to the GPFC problem? I've seen people have similar problems, but with no real conclusions...
    Any ideas? Thanks in advance.

    Ramon,
    No, I have tried purging/refreshing before and it doesn't help, because the un-converted CR2 files are just skipped over and put in the same destination folder as the successfully converted CR2 files (to DNG). I thought it might be a memory issue, but I never have any other applications open. As a test, I purposely opened some other applications to see if MORE CR2 files would be skipped, but the amount of files skipped was still random.
    My "DNG Conversion Settings," accessed through the Get Photos From Camera dialogue, is set to:
    Jpeg Preview: Medium Size
    Compressed (Checked)
    Preserve Raw Image (Checked)
    Embed Original Raw File (UN CHECKED)
    Could some of my Edit>Preferences>Cache options be overloading things and causing skips? I use the default settings because I wasn't confident with messing around with the cache.
    Thanks

  • Embed Original Option for DNG Conversion

    I have switched over my digital workflow now to DNG. I would love to see Adobe add an option to embed the original RAW file to it's DNG conversion in Lightroom. I was hoping that someone from Adobe would read this and take this suggestion into consideration...if not in v1.1, maybe in a future version. Thank You!

    Ok, I am a novice here, but I am wondering:
    What is the advantage to embed the original RAW into a DNG?
    I believe I understand the value of the DNG: that it provides a single format for RAW data that simplifies the job software needs to do to render the RAW data, rather than needing to translate a zillion file formats. Also it removes the need for sidecar XMP files. OK, that sounds like good things.
    So, assuming one already has a good backup of the RAW stowed away somewhere, and also assuming that the RAW-to-DNG converter is competant to do what it is supposed to, Why would one want the RAW embedded in the DNG?
    One other question: would embedding the RAW file double the size of the DNG?
    Thanks

  • Is the JPEG compression option on TIF files lossy or lossless?

    Is the JPEG compression option on TIF files lossy or lossless?

    I accidentally used the JPEG compression on some important TIFF images.  I usually use
    no compression but didn't realise the option had been chosen.  I can't easily re-scan.  I have
    read about lossless JPEG and with TIF considered a lossless format I had hoped this may
    be the case.

Maybe you are looking for