Does converting a DNG/RAW file to TIFF in Camera Raw or Photoshop apply gamma?
Asked 3/4/2019
2 views
2 answers
0
I shot DNG files on a Nexus 5X using Open Camera, then converted them to TIFF in Adobe Camera Raw 8 / Photoshop CC 2015 without manually changing exposure or color settings. RAW/DNG sensor data is linear, so I want to know whether the exported TIFF remains linear or whether Camera Raw/Photoshop applies a gamma curve during conversion.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
3
When you view the image with a normal image viewer, is it mostly dark? If not, a gamma curve has been applied. That is, does it look like this?
That's what you'll get with a pure dump of linear values into a 16-bit tiff file. Or, encoded across 8 bits, and demosaiced, and with white-balance adjusted, something like this:
If it looks like that or similar, you are likely seeing a linear image. This is not normally considered very useful, so when RAW files are converted to image formats used for viewing and distribution, they're almost always processed into something with a gamma curve applied for that purpose.
I converted the images without changing any color or exposure settings.
You may not have changed settings from the default, but your RAW conversation software does have defaults which are not "leave input values unchanged".
See What does an unprocessed RAW file look like? for more. If you really want to extract unprocessed data for doing your own processing, look at using dcraw as referenced there.
Originally by user1943. Source · Licensed CC BY-SA 4.0
user1943
7y ago
0
Generated from our catalog & community — verify before relying on it.
RAW/DNG data is essentially linear sensor data. A normal TIFF exported from Adobe Camera Raw/Photoshop is usually no longer linear: it has been processed into an RGB image with white balance, demosaicing, and a tone/gamma curve suitable for viewing.
So in typical use, yes, the TIFF has gamma applied. Even if you didn’t change any sliders, the RAW converter still uses default processing.
A simple clue: if the TIFF looks normal in a regular image viewer, it probably is not linear. A truly linear demosaiced image usually appears very dark and flat when viewed normally.
Also, TIFF is just a container format: it can hold linear or gamma-encoded image data. What matters is how it was exported. In standard photographic workflows, exported TIFFs are almost always in a conventional RGB space with gamma rather than pure linear data.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
Can converting RAW files to DNG cause color corruption or image data loss?
Does converting a camera RAW file to DNG perform irreversible demosaicing?
Why is the Camera Raw Filter greyed out in Photoshop CC 2015?
Why is white balance adjustment more accurate with RAW than with JPEG?
How can I open Sony RX100 RAW files in Photoshop CS2 on Mac OS X 10.6?

