Luminous Landscape Forum

Equipment & Techniques => Computers & Peripherals => Topic started by: The View on July 12, 2008, 01:09:52 am

Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 01:09:52 am
One of the basic truths in image editing is, that if you convert to a different color space, you lose quality.

If you convert to a different file format, you lose quality.

Do you think, that I lose quality when I convert my Canon 40D files to DNG?

And is there a good reason to do so, or shouldn't I just keep the files as they come?

Thanks!
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 12, 2008, 02:33:07 am
No, you don't loose quality
Yes, there are good reasons

- DNG contains the raw data coming from the camera it doesn't add a color space
- As the pixels are kept you will not loose quality
- You don't loose quality if you convert from one non lossy file format to another non lossy file format.
- It is actually possible to set up DNG so it will store the actual original raw-file in DNG.

The very good reason to save files in DNG that there are so many versions RAW-file formats, it is quite probable that it can be difficult to read todays RAW in perhaps five years. DNG is intended as a portable RAW-format. It is developed and maintained by Adobe but specifications are open AFAIK.

Are there any disadvantages with DNG? Sure some proprietary information is lost, if you don't use the option to save the original raw file in the image. I'm not really sure that lossless actually is lossless.

Best regards
Erik


Quote
One of the basic truths in image editing is, that if you convert to a different color space, you lose quality.

If you convert to a different file format, you lose quality.

Do you think, that I lose quality when I convert my Canon 40D files to DNG?

And is there a good reason to do so, or shouldn't I just keep the files as they come?

Thanks!
[a href=\"index.php?act=findpost&pid=207510\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 03:12:18 am
Quote
No, you don't loose quality
[a href=\"index.php?act=findpost&pid=207516\"][{POST_SNAPBACK}][/a]

Am I misreading this as a contradiction?

Philosophically speaking, there is no gain without a loss. You don't lose quality vs. there isn't actually any lossless.

Quote
Are there any disadvantages with DNG? Sure some proprietary information is lost, if you don't use the option to save the original raw file in the image. I'm not really sure that lossless actually is lossless.

[a href=\"index.php?act=findpost&pid=207516\"][{POST_SNAPBACK}][/a]

This is actually a great message by you (if I don't misread it). In the digital era we strive for anything lossless. Lossless compression, non-destructive editing.

But it looks like this is all marketing speak.

I just compared my original 40D file, converted by the not very workflow-friendly Canon DPP with the superb workflow software Lightroom's conversion.

Looks like you're taking a hit in conversion quality vs. workflow quality.

And, regarding the superb workflow format DNG, maybe one pays for this with losing, as you said, some "proprietary information".

Proprietary information. This is actually wonderfully said. Isn't anything coming from a camera regarding image quality "proprietary information".

You either have a talent for philosophy or diplomacy, or both.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 05:38:16 am
Just erased the last import, and re-imported in original Canon RAW format CR2.

Result:

Much better.

Converting your RAW files to DNG ruins your images. Makes them lifeless, soggy, and you lose detail. The colors wash out.

For me DNG is history. Never again!
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 12, 2008, 06:06:29 am
Hi!

There is actually a lot of lossless compression. A very simple example is:

000000000 can be written 9x0. This is essentially what is called run length encoding. Takes 1/3 of the place (in this case).

Lossless encoding means that you can restore every bit in the image.

One issue is that RAW has linear encoding, so it does not use gamma. It is feasible to convert a 12 bit linear image to an 8 bit gamma encoded image without loosing any significant information, because of gamma encoded imaging is more efficient. BUT this would not be pixel for pixel equivalent with the original image. I doubt that any observer would be able to observe a difference. Such a conversion would be virtually lossless. You would not loose information but could not reconstruct the original image. Could you see the difference? Probaly not! Could you measure the difference? Absolutely! OK this may or may not be a diplomatic view.

Regarding proprietary information there is a lot of information embedded in the image, some of that information is standardized like EXIF and IPTC tags. Some tags are vendor specific. One example is the white balance information.

The issue is really that with each camera there is a new "raw" format. Will you be able to read your present "raw" files on your Mac OS X/7 or Windows 2012 computer?

Washed out colors may relate to color space. Lightroom uses ProPhotoRGB as a color space. If your Photoshop is incorrectly set up it may ignore the color profile. I don't thing DNG has anything to do with Color Profiles. It just holds pixel data and information tags.

This is not a question of diplomacy or philosophy, more about how things are. Many people of great experience and knowledge use Lightroom and DNG, like Michael Reichmann (the owner of this site) or Jeff Schewe, they both use Canon and they both know what they are doing. It is quite obvious that some people have issues with Lightroom. I don't know the reason for this. There was a gentleman on the MFDB forum who had a real bad experience.

If you write on this forum for advice you may get good or bad advice but I presume that all information is intended to be helpful.

Best regards
Erik


Quote
Am I misreading this as a contradiction?

Philosophically speaking, there is no gain without a loss. You don't lose quality vs. there isn't actually any lossless.
This is actually a great message by you (if I don't misread it). In the digital era we strive for anything lossless. Lossless compression, non-destructive editing.

But it looks like this is all marketing speak.

I just compared my original 40D file, converted by the not very workflow-friendly Canon DPP with the superb workflow software Lightroom's conversion.

Looks like you're taking a hit in conversion quality vs. workflow quality.

And, regarding the superb workflow format DNG, maybe one pays for this with losing, as you said, some "proprietary information".

Proprietary information. This is actually wonderfully said. Isn't anything coming from a camera regarding image quality "proprietary information".

You either have a talent for philosophy or diplomacy, or both.
[a href=\"index.php?act=findpost&pid=207527\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: John S C on July 12, 2008, 07:03:36 am
Not a real scientific test, but I've converted one CR2 image into dng, and imported them both into Lightroom. I can't see any difference between the two. Even at 100%. Now it may be that they don't contain any really saturated colours, but the image has green foliage, green grass. Neutral grey vehicle body work and a deep blue flag.

Canon DPP does  produce a different result to Lightroom with regards certain images. From what I remember of the topic DPP does seem to give a warmer and more saturated conversion than Lightroom does "as standard". But this may be simply down to the individual way both applications process the initial view.
Title: Converting to DNG - do you lose quality?
Post by: Jonathan Wienke on July 12, 2008, 08:45:54 am
Quote
Converting your RAW files to DNG ruins your images. Makes them lifeless, soggy, and you lose detail. The colors wash out.

For me DNG is history. Never again!

Bullshit. DNG files contain the exact same RAW data as the manufacturer's file format. If you convert an original RAW file and the DNG in ACR with the same settings, the converted images will be identical down to the last pixel value. You can verify this by pasting the versions on top of each other in PS and setting Difference blend mode.

If you got different results after converting to DNG, YOU screwed something up.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 12, 2008, 11:29:45 am
Quote
Converting your RAW files to DNG ruins your images. Makes them lifeless, soggy, and you lose detail. The colors wash out
Nonsense. I am working (programming, coding/encoding) native raw files as well as DNG files. I can assure you, that there is no relevant difference in the data except in a very few muddy cases (certainly not with Canons).

For example the data encoding (what you call "compression") in DNG is the very same as the one adopted in Canon CR2 raw files. The main difference is, that the DNG converter has more time and more computing power than the camera, thus it can compress more effectively.

Nevertheless, I don't see any (really none) reason to convert the 40D CR2s in DNG except the sightly reduced size, which is not enough for me. Plus, if you want to keep the original raw data, the DNG will be much larger than the CR2, and anyway it is a brainsick idea to embed the original in the converted file.
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 12, 2008, 01:33:06 pm
Quote
Converting your RAW files to DNG ruins your images. Makes them lifeless, soggy, and you lose detail. The colors wash out.

For me DNG is history. Never again!
[a href=\"index.php?act=findpost&pid=207548\"][{POST_SNAPBACK}][/a]
Pilot error.  Unless you select convert to linear data the data in the dng is the same as the data in the cr2.

Did your coverter have settings saved for the cr2 version and not for the dng version?

As to your original question.  It can be nice to have the full sized preview in the dng.  It can also be nice to not have side car files to lose.  It can also be helpful to convert to dng to get your files into a format that an older version of photoshop will support.  (Which is funny to use a new version of the dng converter to allow an older version of photoshop to work.)

What you lose is the ability to use some software.  Notably DPP.  (I think Nikon's software only supports NEF.)  It can be hard to tell if you care about this.  DPP is a pain to work with but does have some support for correcting lens flaws.  This was not a feature at the time I converted most of my files.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 10:18:45 pm
No idea what happened.

I just noticed from my old Pentax files, that the DNG were 50% smaller than the PEF files. Maybe that's a clue? I can't see an item in the import dialogue that allows you to mess up images the way mine were.

I'll see if I can find what went wrong.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 10:30:50 pm
Quote
Bullshit.
[a href=\"index.php?act=findpost&pid=207576\"][{POST_SNAPBACK}][/a]

Not exactly a terminus technicus, at least not in photography.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 10:36:02 pm
Quote
Hi!

There is actually a lot of lossless compression. A very simple example is:

000000000 can be written 9x0. This is essentially what is called run length encoding. Takes 1/3 of the place (in this case).

Lossless encoding means that you can restore every bit in the image.

(...)

I don't thing DNG has anything to do with Color Profiles. It just holds pixel data and information tags.


Best regards
Erik
[a href=\"index.php?act=findpost&pid=207556\"][{POST_SNAPBACK}][/a]

I see it can't be DNG's fault. Whatever it was, the difference was so striking...

And it can't be some kind of color space switch without my knowledge.

For the moment, I'll keep working with the original Canon RAW format until I know what happened.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 12, 2008, 10:37:21 pm
Quote
I just noticed from my old Pentax files, that the DNG were 50% smaller than the PEF files
This depends on which Pentax. For example the *ist PEFs are uncompressed, the K100 and K200 PEFs  are compressed by "packing", while the K10's PEFs are encoded like Canon, Nikon, DNG. Accordingly, the proportion between the PEF and DNG sizes varies.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 12, 2008, 10:38:28 pm
Quote
This depends on which Pentax. For example the *ist PEFs are uncompressed, the K100 and K200 PEFs  are compressed by "packing", while the K10's PEFs are encoded like Canon, Nikon, DNG. Accordingly, the proportion between the PEF and DNG sizes varies.
[a href=\"index.php?act=findpost&pid=207735\"][{POST_SNAPBACK}][/a]

So that can't be it then, either.

And there are no "conversion settings" to convert to DNG.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 12, 2008, 10:47:05 pm
Quote
there are no "conversion settings" to convert to DNG.
The conversion settings are under "Change Preferences" (there are not many).
Title: Converting to DNG - do you lose quality?
Post by: The View on July 13, 2008, 02:08:29 am
Quote
The conversion settings are under "Change Preferences" (there are not many).
[a href=\"index.php?act=findpost&pid=207740\"][{POST_SNAPBACK}][/a]


CHANGE preferences? You mean the preferences pane with the Command comma shortcut in "lightroom" menu?

I actually only found export settings, color space for exporting to external editors, etc.
Title: Converting to DNG - do you lose quality?
Post by: Nick Rains on July 13, 2008, 07:15:29 am
Quote
Am I misreading this as a contradiction?

Philosophically speaking, there is no gain without a loss. You don't lose quality vs. there isn't actually any lossless.
This is actually a great message by you (if I don't misread it). In the digital era we strive for anything lossless. Lossless compression, non-destructive editing.

[a href=\"index.php?act=findpost&pid=207527\"][{POST_SNAPBACK}][/a]

CR2 files are already compressed - why do you think they vary in size? If you don't believe me see for yourself - or do the maths ( 2 bytes per photo site x megapixel rating ie 12mp should be a 24Mb file, except it ain't) . You'll find that ones with lots of detail are bigger than ones with big smooth areas - just like jpegs.

DNG files simply store the exact same RAW data in a new 'box' with a nice jpeg preview based on the RAW adjustment defined in your RAW converter (ACR) plus a set of instructions comprising the settings used to adjust it.  That's all - converting to DNG does not compress or alter anything in the RAW data.

What you are seeing is different conversions being applied to the same data - this is what you need to attend to.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 13, 2008, 03:13:02 pm
Quote
CHANGE preferences? You mean the preferences pane with the Command comma shortcut in "lightroom" menu?
Were you converting the CR2 in DNG via LR? SOrry, I have no idea, how that works.

I am using the stand-alone DNG converter, which has a "Change Preferences" button; that's what I was referring to.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 13, 2008, 03:25:01 pm
Quote
Were you converting the CR2 in DNG via LR? SOrry, I have no idea, how that works.

I am using the stand-alone DNG converter, which has a "Change Preferences" button; that's what I was referring to.
[a href=\"index.php?act=findpost&pid=207875\"][{POST_SNAPBACK}][/a]

Which one do you use?

I converted to DNG using the LR setting "convert to DNG and import".
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 13, 2008, 03:49:08 pm
Adobe DNG Converter.  You can get it bundled with ACR at the Adobe site.  It is just a standalone executable.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 13, 2008, 03:59:04 pm
Quote
Which one do you use?
Adobe's stand-alone DNG converter is part of the ACR package. When downloading, you can chose this package and unpack the converter. "Stand alone" means in this context, that it is running w/o PS or LR. It created a DNG file, which can be processed by ACR in LR or PS.

This conversion is not influenced by any other setting, except the few options like "compression", "JPEG preview" (do *not* convert in linear).

After the conversion open both the CR2 and the DNG *together* in Photoshop, set all adjustments equal in ACR and see if there is any difference.
Title: Converting to DNG - do you lose quality?
Post by: Jonathan Wienke on July 13, 2008, 09:23:00 pm
Quote
Not exactly a terminus technicus, at least not in photography.

It's a perfectly accurate description of the ignorance and misinformation contained in your original post.

DNG uses a lossless compression method that reduces file size without altering the RAW data contained in the file. Think of a ZIP file, but with a different compression algorithm optimized for image data. Therefore, the DNG file size is almost always smaller than the original, but that does not mean the RAW data inside has been altered in any way.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 13, 2008, 09:34:47 pm
Quote
perfectly accurate
[a href=\"index.php?act=findpost&pid=207969\"][{POST_SNAPBACK}][/a]

You could have handled it with courtesy and knowledge, and simply stated facts, like others did.

But I see you're not good with words and can't handle your temper. So be it.
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 14, 2008, 01:20:12 am
Just a comment.

I think that we can see from the conversation that the issue you have is probably not with DNG but with LR. Sorry for that! It seems that LR works better for some folks than for others.

Now, there is an idea behind LR and that idea is that you keep the RAW file untouched and render it on the fly for different needs. LR gives you a very large gamut RGB which is internally linear.

If you just want to use LR as raw-converter it is probably not the best tool, it may be better to use some of the top class raw-converters like Phase One, Iridient Developer or what tool you want to use and than have an industrial strength asset management system for your "tiffs".

If you wan't to have a "raw" based workflow I think that LR is one of the better solutions, the other one is Aperture.

Regarding the issue with DNG I think that there may be a couple of issues. We have seen that the "pixels themselves" are not affected by conversion to DNG. As I told you there are a lot of additional information called "tags". Some of these are standard and some are vendor specific.

Now, one of the features of DNG is that it can contain XMP information. Lightroom actually stores it's development settings in the DNG file, it can also put it into a "sidecar" file. So this may have caused some of your issues, not the DNG file on its own, but the instructions in it. Sorry for being diplomatic, but I just try to guess what is happening.

The development settings go in three places in Lightroom

1) The internal database
2) I think also the DNG files
3) Optionally the XMP-sidecar files

Best regards
Erik

Quote
I see it can't be DNG's fault. Whatever it was, the difference was so striking...

And it can't be some kind of color space switch without my knowledge.

For the moment, I'll keep working with the original Canon RAW format until I know what happened.
[a href=\"index.php?act=findpost&pid=207734\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 14, 2008, 11:56:26 am
Quote
LR gives you a very large gamut RGB which is internally linear
Do you mind explaining what this means? I don't know of any RGB, which is linear "internally" or "externally", nor do I see any CR option for generating a linear output.
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 14, 2008, 12:22:13 pm
Hi!

As far as I understand LR is internally using a version of ProPhoto RGB but without a gamma curve. It's called "Melissa RGB".

Best regards
Erik

Quote
Do you mind explaining what this means? I don't know of any RGB, which is linear "internally" or "externally", nor do I see any CR option for generating a linear output.
[a href=\"index.php?act=findpost&pid=208095\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 14, 2008, 12:34:08 pm
Quote
As far as I understand LR is internally using a version of ProPhoto RGB but without a gamma curve. It's called "Melissa RGB"
Ok, now I understand. ProPhoto is not linear, but LR converts an RGB image (which is never linear) into linear form and makes calculations on that; that is nothing special. The gamma-converted format is not suitable even for the simplest adjustments, like brightness or contrast. When writing the file, it gets gamma-converted again.
Title: Converting to DNG - do you lose quality?
Post by: Jonathan Wienke on July 17, 2008, 07:47:47 pm
Quote
You could have handled it with courtesy and knowledge, and simply stated facts, like others did.

Others tried that approach, and you continued to insist on your point of view that converting to DNG caused quality loss and negatively impacted the conversion of images from the DNG compared to the original RAW. I restated the point in more forceful terms, and somewhere along the line you finally realized (I think) the error of your original position. If you don't know what you're talking about, asking questions is fine (it's how we all learn), but passing off your own ignorance as fact is likely to confuse and misinform others who read your posts. If you'd done even the most basic research on DNG and how it works you'd have realized that the issues you were encountering were the result of user error, and not a loss of quality due to converting the file to DNG.
Title: Converting to DNG - do you lose quality?
Post by: Farkled on July 17, 2008, 09:05:44 pm
Nick Rains is correct.  What you are seeing is the different interpretation (initial or otherwise) presented by each program.  DPP tends to preprocess the RAW preview into the same form the JPG would have taken in camera.  DNG is not so aggressive.

The primary reason to not convert to DNG is that you then lose DPP as a processor.  It can be very valuable.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 17, 2008, 09:35:55 pm
Quote
DPP tends to preprocess the RAW preview into the same form the JPG would have taken in camera.  DNG is not so aggressive.
(LOL, another one making definitive statements instead of asking about the subject)

DPP is a program, while DNG is an image data format.
Title: Converting to DNG - do you lose quality?
Post by: Farkled on July 19, 2008, 02:17:52 pm
Quote
(LOL, another one making definitive statements instead of asking about the subject)

DPP is a program, while DNG is an image data format.
[a href=\"index.php?act=findpost&pid=209032\"][{POST_SNAPBACK}][/a]
I apologize.  I wrote DNG when I meant the viewer in Bridge - which does not produce the same initial results as DPP when displaying CR2 files.
Title: Converting to DNG - do you lose quality?
Post by: madmanchan on July 19, 2008, 10:03:11 pm
Quote
Ok, now I understand. ProPhoto is not linear, but LR converts an RGB image (which is never linear) into linear form and makes calculations on that; that is nothing special. The gamma-converted format is not suitable even for the simplest adjustments, like brightness or contrast. When writing the file, it gets gamma-converted again.
[a href=\"index.php?act=findpost&pid=208109\"][{POST_SNAPBACK}][/a]

Just to clarify: CR/LR converts the linear raw data to a RGB color space which has ProPhoto primaries, but linear gamma (i.e., gamma = 1.0). We sometimes refer to this informally has "ProPhoto linear." Subsequent image processing is done using this color space, the idea being that (1) the color space is very large, so it's unlikely that users will clip captured colors as a result of image processing, and (2) the pixel values are still linear, which is needed (or at least beneficial) for certain types of image processing.

Once the raw image processing is done, the ProPhoto linear data is then converted to the output space chosen by the user (e.g., in CR's workflow options or LR's export dialog). For display to the screen, of course the image data is converted via the monitor profile.

Some more details are in the DNG 1.2 spec for those who are interested.
Title: Converting to DNG - do you lose quality?
Post by: budjames on July 20, 2008, 05:43:53 am
For about 6 months, I've been archiving my Canon RAW files (40D, 1Ds MkII, 1Ds MkIII) and converting to DNG upon ingestion into Lightroom v1.4.

I cannot tell any difference between ACR and LR conversions using the original RAW file or DNG created by LR. I've made a number of prints in varying sizes from the DNG files and they look great! Any of my images requiring pixel mashing is done in PS CS3 with final sharpening done using PhotoKit Sharpener. The convenience of not having sidecar files lose is a nice plus to using DNG.

The only reason that I see to use RAW as the working format is if you use DXO Optics RAW conversion as this program does not read DNG. I've found that LensFixCL plug-in for PS CS3 provides the lens correction capability to PS which is all I need to fix the distortion of Canon wide angle zooms.

When you look at the great image masters like Jeff Schewe and Michael Reichmann using DNG, I think that they have enough experience to better judge the benefits of DNG vs original RAW conversions.

Cheers.
Bud James
North Wales, PA
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 22, 2008, 03:12:13 pm
Quote
When you look at the great image masters like Jeff Schewe and Michael Reichmann using DNG, I think that they have enough experience to better judge the benefits of DNG vs original RAW conversions.
[a href=\"index.php?act=findpost&pid=209510\"][{POST_SNAPBACK}][/a]


If you are talking about Camera Raw or Lightroom's ability to render either the original raws of DNGs, there is ZERO differences...in point of fact, Camera Raw's first steps when opening a raw file is to convert that data into DNG data (not a DNG file, just DNG data) in order to process it. I'm pretty sure Lightroom does the same thing.

So, from the standpoint of CR/LR, there CAN'T be any difference in rendering because the rendering is being based on the exact same data.

Look, there's a lot of misconception and myth regarding raw image data. Some people think the only Nikon and Canon can possible know what the raw files' secret data means...and to an extent it's true that the undocumented data does produce problems for 3rd parties. But if you look at the experience and knowledge Adobe has obtained regarding raw files, I think that with over 170 raw file formats under their belt, Thomas Knoll and the other Camera Raw engineers pretty much know exactly what's in those raw files.

There are some real advantages regarding DNG...the raw data & xmp metadata is contained in a single file. DNG has completely lossless compression. DNG is fully documented and for long term conservation and preservation, that's critical. DNG, as a raw file format, has enormous 3rd party support which can not be said for all the 170+ raw file formats which can be turned into DNG. Adobe is also in talks with the ISO to allow the ISO to take over stewardship of DNG. Adobe has already allowed the ISO to take over portions of TIFF for the development of TIFF-EP (Tiff for electronic photography) and they have a lot of experience in standardized formats such as PDF and initiatives such as XMP.

On the contrary, the camera companies (particularly Nikon and Canon) continue to keep their formats proprietary and undocumented and "secret" even if their formats are based on TIFF-EP and NEF & CR2 file formats are so close to DNG that a camera firmware update could prolly allow current cameras to write DNG in addition to their own formats.

There is nothing in Nikon and Canon's desire to keep their formats proprietary that is in the user's best interest...so, as a photographer I can't see any reason to support Nikon and Canon refusing to accept a standard...and any photographer who does support Nikon and Canon either don't understand the issues or have their own agenda in play.

There is one area where DNG is not a benefit with Lightroom and that is writing XMP metadata into the DNG files and then backing up. If you do choose to write the XMP metadata into the DNG files, their modification dates will be changes (because of the XMP metadata update) and any backup scheme that uses modification date to do incremental backups will see those files as updates cause all of the DNG file to be copied on backup. If you do import the raw files not as DNGs, the only way to save out the metadata is in XMP sidecar files–which compared to the image data is tiny.

But that's the only downside of using DNG if you are using Camera Raw/Lightroom...
Title: Converting to DNG - do you lose quality?
Post by: budjames on July 22, 2008, 06:02:13 pm
Quote
If you are talking about Camera Raw or Lightroom's ability to render either the original raws of DNGs, there is ZERO differences...in point of fact, Camera Raw's first steps when opening a raw file is to convert that data into DNG data (not a DNG file, just DNG data) in order to process it. I'm pretty sure Lightroom does the same thing.

So, from the standpoint of CR/LR, there CAN'T be any difference in rendering because the rendering is being based on the exact same data.

Look, there's a lot of misconception and myth regarding raw image data. Some people think the only Nikon and Canon can possible know what the raw files' secret data means...and to an extent it's true that the undocumented data does produce problems for 3rd parties. But if you look at the experience and knowledge Adobe has obtained regarding raw files, I think that with over 170 raw file formats under their belt, Thomas Knoll and the other Camera Raw engineers pretty much know exactly what's in those raw files.

There are some real advantages regarding DNG...the raw data & xmp metadata is contained in a single file. DNG has completely lossless compression. DNG is fully documented and for long term conservation and preservation, that's critical. DNG, as a raw file format, has enormous 3rd party support which can not be said for all the 170+ raw file formats which can be turned into DNG. Adobe is also in talks with the ISO to allow the ISO to take over stewardship of DNG. Adobe has already allowed the ISO to take over portions of TIFF for the development of TIFF-EP (Tiff for electronic photography) and they have a lot of experience in standardized formats such as PDF and initiatives such as XMP.

On the contrary, the camera companies (particularly Nikon and Canon) continue to keep their formats proprietary and undocumented and "secret" even if their formats are based on TIFF-EP and NEF & CR2 file formats are so close to DNG that a camera firmware update could prolly allow current cameras to write DNG in addition to their own formats.

There is nothing in Nikon and Canon's desire to keep their formats proprietary that is in the user's best interest...so, as a photographer I can't see any reason to support Nikon and Canon refusing to accept a standard...and any photographer who does support Nikon and Canon either don't understand the issues or have their own agenda in play.

There is one area where DNG is not a benefit with Lightroom and that is writing XMP metadata into the DNG files and then backing up. If you do choose to write the XMP metadata into the DNG files, their modification dates will be changes (because of the XMP metadata update) and any backup scheme that uses modification date to do incremental backups will see those files as updates cause all of the DNG file to be copied on backup. If you do import the raw files not as DNGs, the only way to save out the metadata is in XMP sidecar files–which compared to the image data is tiny.

But that's the only downside of using DNG if you are using Camera Raw/Lightroom...
[a href=\"index.php?act=findpost&pid=209965\"][{POST_SNAPBACK}][/a]

Jeff, as always, thanks for your detailed explanation. I agree with you since I'm a follower (and purchaser of your products and tutorials). I learned a lot from the tutorials that you and Michael have produced, so keep them coming.

As a photo hobbyist, although a serious one, the workflow offered by using LR and PS CS3 instead of Canon's DPP serves me well as to keep me from having to deal with unfriendly software that does not have such a great community of sharing pros like yourself to support and encourage the learning process like Adobe products.

My prints and images look great so I quite happy with the results and the virtual network of similarly minded individuals on forums like this.

Cheers.
Bud James
North Wales, PA
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 22, 2008, 08:29:52 pm
Before we burst into tears, because not all files have been converted in DNG, a few things have to be explained.

Note, that the issue is NOT if converting native raw files in DNG causes loss of raw data. Such claims came only from amateurs.

To the evaluation of "advantages" coming with DNG:

1. Embedded XMP tags.

Well, you may clasp for this, or you may whine about it. It may seem to be an advantage for some, it is a show stopper for others. I deem it as an idiotic idea to store the adjustment parameters (secondary, changable information) inside the original, primary information, which ought to be preserved absolutely unchanged.

2. Lossless compression.

I don't know if I am supposed to laugh or to whine when reading this rubbish. The raw data is lossless, if is has been created losslessly. However, the lossy raw data does not become lossless by virtue of converting it in DNG.

3. "Enormous support".

It is totally irrelevant for any user, how many cameras are supported by the software (s)he is using.

4. Some (in fact, all important) manufacturers are sticking to their proprietory format.

I have all understanding for them. The DNG format does not allow for any new features, it does not allow for honouring in-camera settings (contrast, saturation, style, color space selection, etc.), and most importantly, it does not allow for the best possible color representation.

This is a very difficult problem. On one hand, the DNG specification can not account for future features. On the other hand, manufacturers don't want to reveal their plans, nor do they want to delay their release, until the DNG specification gets updated.

For example the proprietory raw converters honour picture styles and dust delete data. If someone goes DNG, one can forget about that.

5. DNG is a standard.

Well, it is a standard of Adobe. I hope, that before it will be declared an official standard, some software architecs will be asked about it, because this did not happen until now.

Let's keep an important fact in eyes: camera owners are using DNG due to Lightroom, Bridge and mainly for the features of ACR, not for DNG. If Canon came out with a raw converter equipped comparable to ACR, photogs would make a run for it and forget about ACR.

(Please note: I am a proponent of a raw standard, something like DNG, but I am not blind.)
Title: Converting to DNG - do you lose quality?
Post by: budjames on July 22, 2008, 09:50:56 pm
Quote
Before we burst into tears, because not all files have been converted in DNG, a few things have to be explained.

Note, that the issue is NOT if converting native raw files in DNG causes loss of raw data. Such claims came only from amateurs.

To the evaluation of "advantages" coming with DNG:

1. Embedded XMP tags.

Well, you may clasp for this, or you may whine about it. It may seem to be an advantage for some, it is a show stopper for others. I deem it as an idiotic idea to store the adjustment parameters (secondary, changable information) inside the original, primary information, which ought to be preserved absolutely unchanged.

2. Lossless compression.

I don't know if I am supposed to laugh or to whine when reading this rubbish. The raw data is lossless, if is has been created losslessly. However, the lossy raw data does not become lossless by virtue of converting it in DNG.

3. "Enormous support".

It is totally irrelevant for any user, how many cameras are supported by the software (s)he is using.

4. Some (in fact, all important) manufacturers are sticking to their proprietory format.

I have all understanding for them. The DNG format does not allow for any new features, it does not allow for honouring in-camera settings (contrast, saturation, style, color space selection, etc.), and most importantly, it does not allow for the best possible color representation.

This is a very difficult problem. On one hand, the DNG specification can not account for future features. On the other hand, manufacturers don't want to reveal their plans, nor do they want to delay their release, until the DNG specification gets updated.

For example the proprietory raw converters honour picture styles and dust delete data. If someone goes DNG, one can forget about that.

5. DNG is a standard.

Well, it is a standard of Adobe. I hope, that before it will be declared an official standard, some software architecs will be asked about it, because this did not happen until now.

Let's keep an important fact in eyes: camera owners are using DNG due to Lightroom, Bridge and mainly for the features of ACR, not for DNG. If Canon came out with a raw converter equipped comparable to ACR, photogs would make a run for it and forget about ACR.

(Please note: I am a proponent of a raw standard, something like DNG, but I am not blind.)
[a href=\"index.php?act=findpost&pid=210047\"][{POST_SNAPBACK}][/a]

This is not a political debate. Do what you want for your purposes. By making it easy, consistent and repeatable, Adobe and DNG will yield better results in the long-term. I'll stick to DNG, you do as you please.

Bud
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 23, 2008, 12:21:53 am
Hi,

Can you explain "It does not allow for the best possible color representation.", please.

Best regards
Erik
 

Quote
I have all understanding for them. The DNG format does not allow for any new features, it does not allow for honouring in-camera settings (contrast, saturation, style, color space selection, etc.), and most importantly, .


[a href=\"index.php?act=findpost&pid=210047\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 23, 2008, 01:08:20 pm
Quote
Can you explain "It does not allow for the best possible color representation.", please
The DNG specification prescribes a certain method of converting the colors from the camera's color space in RGB (you can see often references to "color conversion matrixes"). The result of this conversion using the default matrixes is far from being optimal. The calibration process shows the weakness: only three or four colors can be included.

Other programs adopt different approaches of color conversion. The manufacturers' own converters can reproduce the colors better than ACR (there is no real discussion about it, only a few fanatics would dispute this). The difference may not be relevant for some (like myself), but it is the show stopper for others.

DNG version 1.2 has been published a few weeks ago; many of the changes are the implicite acknowledgment of this problem. It has to be shown yet, if the problems are solvable with the extentions.
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 23, 2008, 03:48:00 pm
Thanks!

Quote
The DNG specification prescribes a certain method of converting the colors from the camera's color space in RGB (you can see often references to "color conversion matrixes"). The result of this conversion using the default matrixes is far from being optimal. The calibration process shows the weakness: only three or four colors can be included.

Other programs adopt different approaches of color conversion. The manufacturers' own converters can reproduce the colors better than ACR (there is no real discussion about it, only a few fanatics would dispute this). The difference may not be relevant for some (like myself), but it is the show stopper for others.

DNG version 1.2 has been published a few weeks ago; many of the changes are the implicite acknowledgment of this problem. It has to be shown yet, if the problems are solvable with the extentions.
[a href=\"index.php?act=findpost&pid=210196\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: The View on July 24, 2008, 01:46:19 am
Quote
The DNG specification prescribes a certain method of converting the colors from the camera's color space in RGB (you can see often references to "color conversion matrixes"). The result of this conversion using the default matrixes is far from being optimal. The calibration process shows the weakness: only three or four colors can be included.

Other programs adopt different approaches of color conversion. The manufacturers' own converters can reproduce the colors better than ACR (there is no real discussion about it, only a few fanatics would dispute this). The difference may not be relevant for some (like myself), but it is the show stopper for others.

DNG version 1.2 has been published a few weeks ago; many of the changes are the implicite acknowledgment of this problem. It has to be shown yet, if the problems are solvable with the extentions.
[a href=\"index.php?act=findpost&pid=210196\"][{POST_SNAPBACK}][/a]

Sounds very interesting. So, conversion to DNG is lossless, but... you may lose colors?
Title: Converting to DNG - do you lose quality?
Post by: The View on July 24, 2008, 01:49:43 am
I actually don't need DNG.

I'm perfectly satisfied with Canon's proprietary CR2 format.

There aren't actually THAT many RAW formats out there.

Don't we have a different lens mount for every camera system, too?

On the other hand, it seems to be critical to try to invent an artificial standard.

Remember the M42 lens mount?

I feel DNG limits me, as many software applications don't accept it. Lossless, or not, this seems a loss to me.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 24, 2008, 11:46:21 am
Quote
So, conversion to DNG is lossless, but... you may lose colors?
Well, this term is correct if you make a direct comparison and find, that DPP creates more fidel colors, than ACR.

However, one has to consider, that the camera can be profiled in ACR. Some users have been doing that and reported better results, but allegedly still not as good as DPP. Apologists of the ACR approach counter, that the profiling needs to be done better, but that is ridiculous, as no-one came up with a perfect profile.

AFAIK it is not proven, that it is possible at all to adjust the ACR conversion with the result equalling the rendering of a camera-specific conversion (you can read sometimes about LUT or look-up table, meaning a very practical, sensor specific conversion instead of the generic approach).

The new DNG spec provides for additional profiles (these profiles have nothing to do with the profiling available on the user interface of ACR). However, these are still based on the basic approach of primary conversion by the matrixes; I don't know, how much this will help (I am not saying, that this is not an adequate solution; I don't know).

Adobe resisted to calls for allowing ICC profiles in the raw conversion; I don't know their reason.
Title: Converting to DNG - do you lose quality?
Post by: madmanchan on July 24, 2008, 01:06:33 pm
My understanding is that DNG support in non-Adobe apps is on its way, but will take some time to get to market.

There are some development concerns that we (i.e., members of the CR team at Adobe) have that end up trickling down to hurting users, in our opinion. Cameras with new formats take longer to support, which means a longer wait between the time a photographer gets a new camera and when the software will support it. Sometimes the new format is easy to add support for and can be done within a few days of work, thereby meaning the software is ready by the time the new model hits the streets and ends up in users' hands. Other times it takes weeks, or even months. A couple of new models that Michael covered recently on this site fall have new formats, unfortunately. They'll take extra time to support. With a bit homework you can probably figure which ones they are.

I also believe this indirectly hurts users because we get a lot of feature requests from users. Time spent deciphering new formats just to support a camera means less time spent working on improvements.

In general camera formats aren't very interesting. Photography, on the other hand, is very interesting. We'd rather spend time building better tools for developing photographs rather than figuring out what the 1's and 0's in the file mean. Ick.

BTW, Gabor, the DNG 1.2 spec allows a camera color profile to use 1 or more lookup tables, in addition to matrices. It is certainly true that none of the current profiles (built prior to DNG 1.2 development) contain any such lookup tables; the current profiles only use matrices to map camera 3-color or 4-color data to XYZ.
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 24, 2008, 02:28:06 pm
Quote
There aren't actually THAT many RAW formats out there.

Don't we have a different lens mount for every camera system, too?

On the other hand, it seems to be critical to try to invent an artificial standard.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=210360\")


So, 170+ file formats isn't a lot of different file formats? That's what DNG/Camera Raw supports. And 170+ would be a problem if you were a software engineer that had to keep track of each and every new camera model's file format. Yes, there's NEF and CR2 (Nikon and Canon) but each and EVERY camera model produces a DIFFERENT file format, even if the file extension is NEF or CR2.

Take Canon for example...they've produces digital cameras whose file format went from CRW to TIF to CR2...that's three changes in base level file formats from one company in less that 8 years. Take Nikon...in their marketing stupidity they named digital files from their cameras NEF. What do they name files from their scanners? NEF...are they the same? Nope...not even close.

Until and unless the digital camera companies do finally arrive at a standardized file format, the long term preservation and conservation of today's digital capture is at severe risk. The fact that YOU don't see it is actually part of the problem, not the solution. And DNG is not an "artificial" solution...it's a well designed and implemented solution by a company with a track record for producing standards...something neither Nikon nor Canon have much experience with.

So, until you education yourself a bit more about the issues involved, it would be useful to quit making broad and sweeping and technically incorrect statements. Try doing some reading...[a href=\"http://photoshopnews.com/2005/05/11/digital-preservation/]Digital Preservation[/url]. In fact Congress has spent nearly 100 million dollars looking into the issue, see: The Library of Congress (http://www.digitalpreservation.gov/). You'll find that undocumented and proprietary file formats are the WORST thing for the industry.

And to have somebody like you pass off the efforts as a "artificial standard" is simply not useful (and ignorant).
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 24, 2008, 02:35:09 pm
Quote
the DNG 1.2 spec allows a camera color profile to use 1 or more lookup tables, in addition to matrices
I did only a cursory reading of this subject yesterday, but my understanding is, that the hue-saturation mapping is an addition to the primary color space conversion, which remains unchanged (based on the conversion matrixes).

I can not judge, if this addition is enough to achieve an adequate conversion. At first sight, one could say this allows for any transformation; however, that is not so. The first, matrix based transformation leads to invalid results for many source co-ordinates, i.e. many colors can not be converted in XYZ, thus the following hue-saturation conversion is helpless. While this may not be totally avoidable by any method, I don't see it as given, that a sensor-specific conversion instead of the conversion by matrix would not yield a result preferrable to some customers.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 24, 2008, 08:07:03 pm
Quote
I did only a cursory reading of this subject yesterday, but my understanding is, that the hue-saturation mapping is an addition to the primary color space conversion, which remains unchanged (based on the conversion matrixes).

I can not judge, if this addition is enough to achieve an adequate conversion. At first sight, one could say this allows for any transformation; however, that is not so. The first, matrix based transformation leads to invalid results for many source co-ordinates, i.e. many colors can not be converted in XYZ, thus the following hue-saturation conversion is helpless. While this may not be totally avoidable by any method, I don't see it as given, that a sensor-specific conversion instead of the conversion by matrix would not yield a result preferrable to some customers.
[a href=\"index.php?act=findpost&pid=210472\"][{POST_SNAPBACK}][/a]

Thank you for your view that is not biased by relations to any particular software company.

Of course, everybody who stands up for his point of view, will have to take a certain amount of abuse of people who would love to ignore how opinions are formed and knowledge is gained: by discussion and competition out there in the real world.

But still, this the price of having a backbone and the ability to judge and draw conclusions is worth it. After all, only corpses drift with the flow.

So, Panopeeper, I really appreciate your standing up here and allowing readers to gain knowledge. People like you enrich this forum as a way to get knowledge, that is possible drowned out by the chorus otherwise.

Generally, the quest for maximum quality and practicability should never be underestimated. The age of digital photography is exiting its phase of infancy, and a solution will be found, one way or other.
Title: Converting to DNG - do you lose quality?
Post by: The View on July 24, 2008, 08:12:58 pm
It is an honorable attempt for any company to look for a general standard, a kind of lingua franca of RAW conversion.

At the same time, while the attempt is good, it would be hubris for such a company and anybody who works for it, to proclaim such a standard, and pursue those who don't agree, as infideles.

Especially when that certain standard is not that future proof - and that's the way it looks if you attempt to read Panopeepers comment instead of just browsing to discard.

If Canon, Nikon, and others don't take part in DNG this has surely reasons that may be economical, "political" (market power related), or technical (does not give most possibilities, like color accuracy and the ability to store proprietary information).
Title: Converting to DNG - do you lose quality?
Post by: The View on July 24, 2008, 08:26:43 pm
There have been countless attempts for unity of any kind of language in any field.

Not only in M42 lens mounts...

Think of Esperanto. An artificial language, put together from English, Spanish, French, and other European languages. It provided a simple grammatical structure, simple declinations of the verbs, no "weird" (historically grown) rules, and a very practical, easy to memorize vocabulary.

And it was a failure. Esperanto was an honorable attempt, but failed, because it was an artificial standard, that did not include what people need in a language, and what goes beyond communicating information.

Technical standards can and have repeatedly hampered technological development, and to claim otherwise is actually more ignorant than the insolence of ignoring Adobe's supremacy in the development of software standards.

If someone invented a standard camera companies could customize to their needs, it would stand a chance, and it may happen.

Any other standard, that does not find support, is per definitionem, artificial. Because it only acts like a standard, but isn't. Standards become standards through widespread acceptance, not by definition.
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 24, 2008, 11:30:55 pm
I don't know that what panopeeper said was a direct problem with DNG.  I think it is fallout from the fact that a lot of camera makers software doesn't read DNG.
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on July 25, 2008, 02:02:11 am
Hi,

Historically there has been a problem with RAW-formats. Let's say that you are shooting Canon, assuming that you have D341. Are you sure that Canons DPP will support that camera for forever? Or do you think that you are going to be able to use present Canon DPP on all versions of Windows or Mac OS/X forever? World may even go Linux in 10 years ;-)

Now you can convert your pictures to TIFF. Even 16 bit TIFF and ProPhoto RGB will loose information (much more than you ever could loose with DNG). The question is which TIFF. All TIFF files cannot be read by all programs. You would probably go for Adobe TIFF, Windows byte order, no compression. If you use Adobe TIFF you are pretty close to Adobe DNG.

The other option is to go with JPEG. JPEG is much better than it's reputation, in my view. The problems with JPEGs are:

1) JPEG is not really intended for further processing
2) You cannot use a big color space with JPEG, because it's only 8 bits. Adobe is probably OK, Pro Photo RGB is not, because JPEG is only 8 bits and you lose a few bits when converting between color spaces.

Regarding the comparision with esperanto I don't really feel it is correct, it's more like saying: From now on everyone is speaking California dialect of American English!

Erik

Quote
There have been countless attempts for unity of any kind of language in any field.

Not only in M42 lens mounts...

Think of Esperanto. An artificial language, put together from English, Spanish, French, and other European languages. It provided a simple grammatical structure, simple declinations of the verbs, no "weird" (historically grown) rules, and a very practical, easy to memorize vocabulary.

And it was a failure. Esperanto was an honorable attempt, but failed, because it was an artificial standard, that did not include what people need in a language, and what goes beyond communicating information.

Technical standards can and have repeatedly hampered technological development, and to claim otherwise is actually more ignorant than the insolence of ignoring Adobe's supremacy in the development of software standards.

If someone invented a standard camera companies could customize to their needs, it would stand a chance, and it may happen.

Any other standard, that does not find support, is per definitionem, artificial. Because it only acts like a standard, but isn't. Standards become standards through widespread acceptance, not by definition.
[a href=\"index.php?act=findpost&pid=210526\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: madmanchan on July 28, 2008, 09:31:26 pm
Gabor, you are correct that the lookup table(s) follows the initial conversion using a color matrix. I am confused by your description of "sensor-specific conversion" -- please clarify this.

All raw converters ultimately have to take the demosaiced raw camera coordinates (RGB or GMCY) and map them to XYZ or Lab, though it may be only an intermediate step. This is especially true for raw converters that use ICC profiles, where either XYZ or Lab D50 is the working space. The final mapping from XYZ to any of the standard RGB spaces is just a linear transform plus an encoding curve. The lookup tables provide a mechanism for non-linear corrections (e.g., if you need to tweak deep saturated reds differently than less-saturated reds, something the earlier matrix-only profiles obviously could not do).

I think maybe your concern is that if the initial color matrix from camera space to XYZ causes clipping in XYZ, then you've lost colors that cannot be retrieved later. This is valid and thus care needs to be taken in profile construction to minimize such clipping. In practice it is rarely an issue because the extreme camera values that would lead to such clipping cannot occur (for example you normally can't get a RGB coordinate of (1,0,0) from a camera).

However, until we have DNG 1.2 profiles I won't be able to provide you with any concrete image examples. Luckily we won't have to wait too long.
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 28, 2008, 11:53:16 pm
Quote
Technical standards can and have repeatedly hampered technological development, and to claim otherwise is actually more ignorant than the insolence of ignoring Adobe's supremacy in the development of software standards.
[a href=\"index.php?act=findpost&pid=210526\"][{POST_SNAPBACK}][/a]


Yes...when the "standard" was developed for the benefit of a cartel or small group who wished to maintain total control over a specific standard for their own benefit...as it relates to industry adopted standard, I think you'll have to cite some cases for me to think that opinion is anything other than hogwash...

Photography has a long history of adopting industry wide standards. Neither Nikon nor Canon created their own film size standards...35mm film came (well, I suppose it still does) in a set specification for length, width and number and placement of sprocket holes–other wise, how the heck would you have loaded the same film in different manufactures?

Kodak and Fuji cooperated in the development of the E-6 color film processing film and processing...even though each manufacture was free to develop films that adhered to the standards but deliver different results on film. The type type, size and processing was standardized.

Now, maybe you have an anti-Adobe feather up your butt, I don't know, but until and unless the digital photo industry adopts industry wide standards for raw film formats, we'll still be in the "wild west" where individual companies can play fast and loose and not have their toes held to the fire for blowing out standards...heck, even Nikon and Canon adhere to SOME standards such as EXIF (which unfortunately still has some wriggle room that causes problems).

And if you think it's big old bad Adobe trying to take over and control the DNG standard, I'll point out that Adobe has recently been in discussions on turning over DNG to the ISO for adoption...I can't tell you the results of the most recent meetings at the moment cause I haven't heard about the results...but it's encouraging to note the interest on the part of Adobe and the ISO. Sorry, I think you completely miss the point regarding the importance of standards on the behalf of the individual camera user...it seriously is NOT in YOUR best interests to let Nikon and Canon play with your file formats...
Title: Converting to DNG - do you lose quality?
Post by: Nick Rains on July 29, 2008, 04:38:22 am
Quote
And if you think it's big old bad Adobe trying to take over and control the DNG standard, I'll point out that Adobe has recently been in discussions on turning over DNG to the ISO for adoption...I can't tell you the results of the most recent meetings at the moment cause I haven't heard about the results...but it's encouraging to note the interest on the part of Adobe and the ISO. Sorry, I think you completely miss the point regarding the importance of standards on the behalf of the individual camera user...it seriously is NOT in YOUR best interests to let Nikon and Canon play with your file formats...
[a href=\"index.php?act=findpost&pid=211305\"][{POST_SNAPBACK}][/a]

Correct me if I'm wrong by is not TIFF an Adobe format originally? If so then their track record of allowing free and open use without exploitation is pretty good.
Title: Converting to DNG - do you lose quality?
Post by: Gary Brown on July 29, 2008, 10:32:08 am
Quote
Correct me if I'm wrong by is not TIFF an Adobe format originally? If so then their track record of allowing free and open use without exploitation is pretty good.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=211340\")
Ditto for PDF:
[a href=\"http://www.iso.org/iso/pressrelease.htm?refid=Ref1141]PDF format becomes ISO standard[/url]
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 29, 2008, 10:43:36 am
Quote
Correct me if I'm wrong by is not TIFF an Adobe format originally? If so then their track record of allowing free and open use without exploitation is pretty good.
[a href=\"index.php?act=findpost&pid=211340\"][{POST_SNAPBACK}][/a]

Actually, TIFF was started by Aldus (and MSFT along with others) and was deeded into Adobe stewardship when Adobe bought Aldus. And yes, Adobe has indeed shown that they can take care of things long term (even when they didn't start it). Adobe even allowed the ISO to to adopt it for use in TIFF-EP, which of course, the camera companies have adopted for use in NEF and CR2 files. The utter irony of this is that both recent NEF and CR2 files are so well formed TIFF-EP formats that they might as well be DNGs (and the cameras could prolly receive the ability to write DNGs with merely a firmware upgrade).

See, between TIFF-EP and DNG, Adobe put Nikon and Canon to school...teaching them how to make well formed files. Course they still refuse to document their formats :~(

Which pretty much completely deflates the contention that a standard will retard innovation. In the case of DNG, the standard actually taught the camera companies a thing or two. Which actually points to DNG's success (rather than failure).
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 29, 2008, 11:24:10 am
Quote
However, until we have DNG 1.2 profiles I won't be able to provide you with any concrete image examples. Luckily we won't have to wait too long.
[a href=\"index.php?act=findpost&pid=211284\"][{POST_SNAPBACK}][/a]

So make like with the examples.

Also, does the existence of these profiles mean that Magne Neilsen is going to get more of my money?
Title: Converting to DNG - do you lose quality?
Post by: Brad Proctor on July 29, 2008, 01:27:31 pm
This discussion about standards reminds me of open source software and the movement behind it.  Businesses exist for the sole purpose of making a profit.  That is what they do.  That is what they are for.  So every time a company says they care about you, about innovation, about the world or anything else, remember that all they really care about is making a profit.

In general, standards (true standards) are great for us.  They promote competition among companies which leads to innovation.  Mainly this comes from the ability of multiple companies to write competing products that all work on the same standards.

When a company keeps the information private, no one else can develop for it.  Even if it isn't directly competing.  Imagine if computer components were all specific to a particular brand.  You can only plug this USB device into a Dell computer.  How about if you had to buy a specific power cord for everything in your house depending on who made the outlet.

Once a companies owns an important standard (and doesn't share).  Innovation comes to a grinding halt.  Why would the company spend money on development when they are the only place for consumers to go.

So, to make a long story short (too late)... DNG = good.
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 29, 2008, 03:18:55 pm
Quote
So every time a company says they care about you, about innovation, about the world or anything else, remember that all they really care about is making a profit.
[a href=\"index.php?act=findpost&pid=211482\"][{POST_SNAPBACK}][/a]


In general I can't fault your logic here...but there ARE exceptions to the rule. Adobe, as a company obsesses over always trying to "do the right thing"...and for most everything relating to technical considerations (that stuff under the influence of the engineers and not the suits), I can say that Adobe does indeed strive to do those things that it views as in the interests of the industry (sometimes to their own discomfort).

On the biz side, they do often do stooopid things...not on purpose, but usually by accident. But DNG is a prime example of Adobe (read Thomas Knoll, Zalman Stern, Eric Chan and Peter Merrill as the engineering team) "doing the right thing"...
Title: Converting to DNG - do you lose quality?
Post by: NikosR on July 31, 2008, 10:03:42 am
Jeff,

That's all nice and dandy but, taking Panokeeper's and Chan's parallel discussion into consideration, what would have happened if Nikon for example had decided to take up DNG and abandon their proprietary files 2-3 years ago? Would we all have to suffer the intolerable colours ACR sometimes comes up with (used to??) from Nikon files regardless the raw converter we would use? Would Nikon D3/D300/D700 be able to take advantage (if they opted to) as they can do now of excellent automatic correction of colour aberrations in their raw files?

I don't know the answer to these questions but all I can say is that I can see no standard being really viable unless it is developed and agreed upon by all major parties involved AND manages to both protect intellectual property and confidentiality AND does not indirectly hinder innovation (or what each party views as their strategic or competitive advantage).
Title: Converting to DNG - do you lose quality?
Post by: madmanchan on July 31, 2008, 10:31:22 am
Quote
So make like with the examples.

Also, does the existence of these profiles mean that Magne Neilsen is going to get more of my money?
[a href=\"index.php?act=findpost&pid=211434\"][{POST_SNAPBACK}][/a]

DarkPenguin, the new Camera Matching profiles demonstrate that the updated DNG 1.2 profiles can be used to match the "vendor looks" (i.e., the color rendition provided by the camera manufacturers themselves). The DNG Profile Editor can be used to tweak these further, or do another 'matching' profiles, such as if you prefer to make the default color rendition similar to, say, SilkyPix, Capture One, Bibble, etc. We've internally produced a few Camera Matching profiles as examples of what can be done. We're hoping the community will take it up from there. You can even do funky things like make an Olympus look like a Canon, or vice versa.

As to whether Magne will get more of your money, well ... one possibility is that a market will develop around custom profiles built with the DNG Profile Editor or another tool. Any custom-built software (Magne writes his own software, and has a lot of experience doing this) can build DNG 1.2 profiles; the FAQ even has sample code to help developers get started doing this. We certainly encourage having a market build up around it. But whether Magne gets involved personally ... I have no idea.
Title: Converting to DNG - do you lose quality?
Post by: madmanchan on July 31, 2008, 10:41:56 am
Quote
That's all nice and dandy but, taking Panokeeper's and Chan's parallel discussion into consideration, what would have happened if Nikon for example had decided to take up DNG and abandon their proprietary files 2-3 years ago? Would we all have to suffer the intolerable colours ACR sometimes comes up with (used to??) from Nikon files regardless the raw converter we would use? Would Nikon D3/D300/D700 be able to take advantage (if they opted to) as they can do now of excellent automatic correction of colour aberrations in their raw files?

NikosR, IMO, no this would not have happened. The color rendition depends on the color profile stored with the DNG. Camera manufacturers that write DNG files are free to use their own color profiles, not the ones provided by Adobe. Color profiles are just tags stored in the DNG metadata. So if someone else can come up with better profiles and stick them into the DNG, more power to 'em.

Furthermore, DNG has a MakerNote tag that can store whatever proprietary information a camera manufacturer (Canon, Nikon, etc.) wants, whether this be lens correction data, vignette compensation data, etc.

In fact, the DNG Converter, when building a DNG file, already copies over all the proprietary tag data and stuffs it in the MakerNote, even though CR/LR doesn't understand how to interpret the data. The important thing is that the metadata is preserved (as opposed to being tossed out).

Quote
I don't know the answer to these questions but all I can say is that I can see no standard being really viable unless it is developed and agreed upon by all major parties involved AND manages to both protect intellectual property and confidentiality AND does not indirectly hinder innovation (or what each party views as their strategic or competitive advantage).
[a href=\"index.php?act=findpost&pid=212036\"][{POST_SNAPBACK}][/a]

Hopefully my answers above help demonstrate that the DNG spec does allow manufacturers to protect IP and innovation (the actual spec even discusses this exact point, and the reason for this MakerNote tag). Regarding the major parties ... well, we do have discussions with all the big players, though some are more happy/willing to discuss DNG than others. The idea behind handing it over to ISO would certainly imply multiple parties being involved.
Title: Converting to DNG - do you lose quality?
Post by: NikosR on July 31, 2008, 10:47:45 am
Quote
NikosR, IMO, no this would not have happened. The color rendition depends on the color profile stored with the DNG. Camera manufacturers that write DNG files are free to use their own color profiles, not the ones provided by Adobe. Color profiles are just tags stored in the DNG metadata. So if someone else can come up with better profiles and stick them into the DNG, more power to 'em.


[a href=\"index.php?act=findpost&pid=212054\"][{POST_SNAPBACK}][/a]


But, correct me if I'm wrong since I'm far from an expert, if part of the problem is (was?) matrix vs look-up table RGB conversions and DNG could not support look-up table conversions wouldn't that have disallowed users to get the most colorwise from their raw files?
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 31, 2008, 11:14:29 am
DNG just holds data.  It doesn't handle the conversions.

If your favorite converter starts to support DNG it wouldn't have to use the Adobe profiles.  It could still do whatever it does now.
Title: Converting to DNG - do you lose quality?
Post by: NikosR on July 31, 2008, 12:38:47 pm
Quote
DNG just holds data.  It doesn't handle the conversions.

If your favorite converter starts to support DNG it wouldn't have to use the Adobe profiles.  It could still do whatever it does now.
[a href=\"index.php?act=findpost&pid=212065\"][{POST_SNAPBACK}][/a]

I will infer from the answers given above from Pano and Chan that the DNG specification prescribes the type of profiles for conversion and the DNG files contain them. Which means the profiles used would be of the type Adobe have prescribed (i.e. matrix rather than look-up table conversion up to very recently). Do you know otherwise?
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 31, 2008, 12:57:18 pm
Quote
I will infer from the answers given above from Pano and Chan that the DNG specification prescribes the type of profiles for conversion and the DNG files contain them. Which means the profiles used would be of the type Adobe have prescribed (i.e. matrix rather than look-up table conversion up to very recently). Do you know otherwise?
The point of the standardization is, that any raw processor can convert any raw file without having to know the specifics of the actual camera. Some raw processors were (are?) using the maker's proprietory information from the DNG file. While this remains possible, it defeats the purpose of the standardization.
Title: Converting to DNG - do you lose quality?
Post by: NikosR on July 31, 2008, 01:05:16 pm
Quote
The point of the standardization is, that any raw processor can convert any raw file without having to know the specifics of the actual camera. Some raw processors were (are?) using the maker's proprietory information from the DNG file. While this remains possible, it defeats the purpose of the standardization.
[a href=\"index.php?act=findpost&pid=212077\"][{POST_SNAPBACK}][/a]


So if Nikon for example had standardized on the DNG specification (I insist on specification and not just file format) that would mean in my example they would have to use matrix-based profiles. Which many people including you have argued, and Adobe have implicitly half admitted with their latest DNG specification, are not totally capable of correctly converting the raw data to RGB color information for all different illuminants mainly due, as I understand it, to non-linear sensor response.

Taking Jeff's statement above about Adobe teaching the manufacturers about how to properly write a raw file, one might argue that the manufacturers have 'taught' Adobe something about raw to RGB color mapping
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on July 31, 2008, 02:17:19 pm
Quote
I will infer from the answers given above from Pano and Chan that the DNG specification prescribes the type of profiles for conversion and the DNG files contain them. Which means the profiles used would be of the type Adobe have prescribed (i.e. matrix rather than look-up table conversion up to very recently). Do you know otherwise?
[a href=\"index.php?act=findpost&pid=212069\"][{POST_SNAPBACK}][/a]

It's just a profile.  It doesn't change the data.  If that doesn't match the software's needs then the software can continue to do whatever it used to do.  It just has to look for its data in slightly different spots.

This does defeat some of the promise of DNG.  Your software would still need to know about your specific camera model and pick an appropriate profile.  If the software used the built in profiles it could just decode the file and would have no need of knowing anything about the D80 (or whatever) that was used to take the photo.

So, yeah, if the software wants to use the profiles it pretty much does specify the conversion.  But if it doesn't you get the same thing you do now.
Title: Converting to DNG - do you lose quality?
Post by: Panopeeper on July 31, 2008, 02:26:32 pm
Quote
I insist on specification and not just file format
Actually, the file format of DNG is the same as that of most raw files, namely TIFF.

Quote
that would mean in my example they would have to use matrix-based profiles
They would have to attach the matrixes for the primary conversion, and now they could attach the profiles as well to "fine tune" the result of the primary conversion.

Furthermore, they could include all proprietory information as well, but those would remain proprietory.

Note, that the proprietory information is necessary for example to figure out in-camera settings, like contrast, picture style, and some other features. However, the color reproduction is based usually on the specific knowledge of the sensor (spectral characteristics), i.e. it is hard-wired in the programs.

Quote
Which many people including you have argued, and Adobe have implicitly half admitted with their latest DNG specification, are not totally capable of correctly converting the raw data to RGB color information for all different illuminants

1. The new features (i.e. profiling) are a huge enhancement. I re-did a few conversions and am surprized by the huge difference (positive), using the new profiles, created by Adobe. I am very pleased by this.

2. Notwithstanding my pleasure with the new profiles, the basic problem remains: that the matrix conversion limits what a program can do. I do not know if and how much this limitation is regarding specific cameras. I would expect that Adobe investigated this question, but I guess we won't see the result.

Quote
mainly due, as I understand it, to non-linear sensor response
Caution with this. There are two totally different meanings of "non-linearity" in conjunction with sensors. The issue at hand is the spectral response, and this aspect can be ignored here, for nothing will change that in the near future.
Title: Converting to DNG - do you lose quality?
Post by: Schewe on July 31, 2008, 11:16:21 pm
Quote
Taking Jeff's statement above about Adobe teaching the manufacturers about how to properly write a raw file, one might argue that the manufacturers have 'taught' Adobe something about raw to RGB color mapping
[a href=\"index.php?act=findpost&pid=212082\"][{POST_SNAPBACK}][/a]


Not at all...if what you want is Nikon or Canon "Looks" (which btw are neither technically accurate nor always "pleasing"), DNG has now given users the ability to do so...but in fact, the more accurate Adobe profiles and the ability to edit those profiles is a pretty big technical advance (which none of the camera companies have ever come up with–and don't even think of saying Phase One...they just co-opted ICC Input profiles).

In point of fact, the camera companies are the newest kids on the block when it comes to color. Up till 2000 or so, they NEVER had to worry about COLOR...all they had to worry about was forming a light tight seal for the film and the formation of the image through the lens. To think that Nikon or Canon somehow have some long standing understanding and tradition when it comes to color is, well, pretty far off the mark. They've been making this stuff up as they go...all they REALLY know is lenses and film transport.
Title: Converting to DNG - do you lose quality?
Post by: ErikKaffehr on August 01, 2008, 12:45:28 am
These reminds me of an interview with a manager at Konica Minolta after the Konica and Minolta merger. Konica has been a film company, so the Minolta folks were in for a culture shock regarding color. Minolta was thriving for correct color while Konica was thriving for pleasant color.

Erik


Quote
Not at all...if what you want is Nikon or Canon "Looks" (which btw are neither technically accurate nor always "pleasing"), DNG has now given users the ability to do so...but in fact, the more accurate Adobe profiles and the ability to edit those profiles is a pretty big technical advance (which none of the camera companies have ever come up with–and don't even think of saying Phase One...they just co-opted ICC Input profiles).

In point of fact, the camera companies are the newest kids on the block when it comes to color. Up till 2000 or so, they NEVER had to worry about COLOR...all they had to worry about was forming a light tight seal for the film and the formation of the image through the lens. To think that Nikon or Canon somehow have some long standing understanding and tradition when it comes to color is, well, pretty far off the mark. They've been making this stuff up as they go...all they REALLY know is lenses and film transport.
[a href=\"index.php?act=findpost&pid=212221\"][{POST_SNAPBACK}][/a]
Title: Converting to DNG - do you lose quality?
Post by: DarkPenguin on August 01, 2008, 01:02:07 am
Quote
These reminds me of an interview with a manager at Konica Minolta after the Konica and Minolta merger. Konica has been a film company, so the Minolta folks were in for a culture shock regarding color. Minolta was thriving for correct color while Konica was thriving for pleasant color.

Erik
[a href=\"index.php?act=findpost&pid=212238\"][{POST_SNAPBACK}][/a]

I miss Konica Impressa 50.
Title: Converting to DNG - do you lose quality?
Post by: NikosR on August 01, 2008, 02:19:39 am
Quote
Not at all...if what you want is Nikon or Canon "Looks" (which btw are neither technically accurate nor always "pleasing"), DNG has now given users the ability to do so...but in fact, the more accurate Adobe profiles and the ability to edit those profiles is a pretty big technical advance (which none of the camera companies have ever come up with–and don't even think of saying Phase One...they just co-opted ICC Input profiles).

In point of fact, the camera companies are the newest kids on the block when it comes to color. Up till 2000 or so, they NEVER had to worry about COLOR...all they had to worry about was forming a light tight seal for the film and the formation of the image through the lens. To think that Nikon or Canon somehow have some long standing understanding and tradition when it comes to color is, well, pretty far off the mark. They've been making this stuff up as they go...all they REALLY know is lenses and film transport.
[a href=\"index.php?act=findpost&pid=212221\"][{POST_SNAPBACK}][/a]


Ha Ha! You do have a way of diverting the discussion to where it suits you. Still, I'm pretty sure they started to deal with the intricacies of dealing with data from a real life sensor much before Adobe did  and my personal opinion is that Nikon color coming out of Adobe's converters up to now has been neither accurate nor pleasing.

If all we had all this time was Adobe's color, red would be something only film guys would remember about. And yes, I too like Adobe's recent effort with the new DNG and profiles. All my initial tests up to now show a positive step towards the right direction. But the point remains. Adobe seem to be now where Nikon, for example, have been, colorwise, for the last 4 years or so. I have the suspicion that if  all there was all this time was Adobe's interpretation of camera color and if we didn't have all the user complaints too, Adobe would not have progressed to what was announced a few days ago.  Don't get sidetracked. Many user comlplaints were in fact due to Adobe not producing the camera preset colour but many high-end users also were complaining about Adobe not producing 'correct' colour.

The new type of profiles and the editor are a big step in the right direction. Adobe themselves admit that it was not only done to emulate camera jpegs as you like to put it. If that were the case we wouldn't have the new Standard profiles, we would only have the emulation ones. That's competition. It is a good thing for us consumers. I believe if camera manufacturers had adhered to the first DNG spec some years ago this progress would not have occured.

Look one think I can deduce from all discusssions in this thread is that in an ideal world a common format would be a good thing for us photographers. I just don't think that the issue is as important as you make it to be.

I feel (just my personal opinion) that the problem to be solved by a common standard is more important for the business plans of giant sw manufacturers like Adobe than for photographers and I still remain unconvinced if the way DNG was specified and 'marketed' made it a good candidate for this given all the technical and business realities.

There are two ways to create standards like this. There should either be a win-win deal for all parties involved OR the strongest prevails. Maybe the time is now approaching. We'll see.