Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
09-24-2022, 07:13 AM   #1
New Member




Join Date: Aug 2020
Location: Wolverhampton
Posts: 20
Confused by different types of RAW file

Hello,
Probably, like most newbies, I set my camera (K7) to JPEG, took photos and looked at them on my laptop via "Microsoft photos". I could crop them and tweak the colour a bit etc.
Then, after reading about RAW files and post processing, I set my camera to JPEG + RAW with PEF format selected.
When I viewed my photos on the laptop, they were as expected. An acceptable JPEG and a muted PEF. I would then process the PEF file in Adobe Photoshop Express and again get acceptable results (plus I was learning what effect the various adjustments had).
All well and good so far. Then I read somewhere, possibly on these pages, that photoshop express does not support PEF files. No problem, I reset the RAW files to DNG in the camera.
Now when I view my pictures on the laptop, the JPEG and the DNG file look identical. They both have the expected in camera processing applied to the JPEG (I have the camera set to vivid). I still tweak the DNG files in Photoshop express. So what is going on here? I would expect the DNG files to look muted like the PEF files. Can any one explain what is going on here? Not really an issue, I am just curious.
Thanks in advance.

09-24-2022, 08:30 AM - 7 Likes   #2
Pentaxian
photoptimist's Avatar

Join Date: Jul 2016
Photos: Albums
Posts: 4,986
TL;DNR: It is likely that your viewing program understands DNG better than it understands PEF and is using the in-camera image settings stored in EXIF to generate a viewable image.


Background: DNG is a more standardized RAW format. PEF is a Pentax-specific RAW format. Each camera maker has their own proprietary RAW format which may include some features not readily available with DNG. Both DNG and PEF store the RAW, unprocessed sensor data.

Most of the in-camera image settings (white balance, color processing, sharpness, contrast, etc.) have absolutely no effect on the RAW sensor data stored in a PEF or DNG file. However, those in-camera image settings are used to create any JPEG image associated with the picture such as the thumbnail and the JPG twin if you use RAW+JPG. Moreover, the in-camera image settings are stored in the EXIF data. Many viewing and editing programs will use those in-camera image settings if the program knows how to unpack the RAW file. To unpack the file, your software needs updated code or configuration files to know how to handle your camera's files. Different software makers are better (or worse) at creating updates for every new camera model and sometimes users don't update their software often enough.


Note: You will never ever actually see the RAW file outside of some very technical image data processing programs. If you actually tried to look at the RAW data, it would be very muted, very green, and composed of a checkboard pattern of black-to-red, black-to-blue, and black-to-green speckles. Moreover, unless you had a 14-bit per color channel monitor, any viewing of the RAW file would required a contrast adjustment that pulls up the shadows and would make the image look even more muted.

Under almost all circumstances, viewing a RAW file requires processing the RAW pixels into something the monitor can display and which corrects for technical peculiarities of the camera sensor. Thus, viewing a RAW file entails interpreting the colors which requires using at least some of the data in EXIF.
09-24-2022, 11:52 AM   #3
Pentaxian
StiffLegged's Avatar

Join Date: Jan 2018
Photos: Gallery
Posts: 3,609
Hello Dean (?), another K-7 user here. When you say Photoshop Express (PE) doesn't support PEF files but you were able to edit them, then your version must support PEF files. Otherwise you'd get an error message from PE.

When you import a DNG file from the camera, PE applies some default processing to it and this has probably coincided with your JPG settings in the K-7. I use an old version of Photoshop with Adobe Camera RAW and the DNG files I imported from the camera had a default set of contrast, saturation, clarity etc applied to every single one of them. That wasn't what I really wanted, so I changed these defaults to no change in contrast, saturation and no clarity etc applied and this gives a very flat, dull starting point to begin processing from. This is a preset configuration which Adobe Camera RAW remembers.

If I want a "standard" result from the raw files, I make another preset configuration or maybe several for different circumstances: select the preset and the image(s) are automatically processed all the same. However, I very rarely do that!

Hope this helps.
09-24-2022, 12:54 PM   #4
New Member




Join Date: Aug 2020
Location: Wolverhampton
Posts: 20
Original Poster
QuoteOriginally posted by StiffLegged Quote
Hello Dean (?), another K-7 user here. When you say Photoshop Express (PE) doesn't support PEF files but you were able to edit them, then your version must support PEF files. Otherwise you'd get an error message from PE.

When you import a DNG file from the camera, PE applies some default processing to it and this has probably coincided with your JPG settings in the K-7. I use an old version of Photoshop with Adobe Camera RAW and the DNG files I imported from the camera had a default set of contrast, saturation, clarity etc applied to every single one of them. That wasn't what I really wanted, so I changed these defaults to no change in contrast, saturation and no clarity etc applied and this gives a very flat, dull starting point to begin processing from. This is a preset configuration which Adobe Camera RAW remembers.

If I want a "standard" result from the raw files, I make another preset configuration or maybe several for different circumstances: select the preset and the image(s) are automatically processed all the same. However, I very rarely do that!

Hope this helps.
Thank you. Maybe I just go back to the PEF format setting so that I get the base starting point for processing.
Where are the defaults that you changed to "no". In the camera settings or in the PE programme?

Thanks again for your help. I will do a bit of trial and error and see what happens.

---------- Post added 09-24-22 at 12:57 PM ----------

QuoteOriginally posted by photoptimist Quote
TL;DNR: It is likely that your viewing program understands DNG better than it understands PEF and is using the in-camera image settings stored in EXIF to generate a viewable image.


Background: DNG is a more standardized RAW format. PEF is a Pentax-specific RAW format. Each camera maker has their own proprietary RAW format which may include some features not readily available with DNG. Both DNG and PEF store the RAW, unprocessed sensor data.

Most of the in-camera image settings (white balance, color processing, sharpness, contrast, etc.) have absolutely no effect on the RAW sensor data stored in a PEF or DNG file. However, those in-camera image settings are used to create any JPEG image associated with the picture such as the thumbnail and the JPG twin if you use RAW+JPG. Moreover, the in-camera image settings are stored in the EXIF data. Many viewing and editing programs will use those in-camera image settings if the program knows how to unpack the RAW file. To unpack the file, your software needs updated code or configuration files to know how to handle your camera's files. Different software makers are better (or worse) at creating updates for every new camera model and sometimes users don't update their software often enough.


Note: You will never ever actually see the RAW file outside of some very technical image data processing programs. If you actually tried to look at the RAW data, it would be very muted, very green, and composed of a checkboard pattern of black-to-red, black-to-blue, and black-to-green speckles. Moreover, unless you had a 14-bit per color channel monitor, any viewing of the RAW file would required a contrast adjustment that pulls up the shadows and would make the image look even more muted.

Under almost all circumstances, viewing a RAW file requires processing the RAW pixels into something the monitor can display and which corrects for technical peculiarities of the camera sensor. Thus, viewing a RAW file entails interpreting the colors which requires using at least some of the data in EXIF.
Thanks for the info.
I will try some different settings and see what happens.
I will take a look at what EXIF info is carried over.
Thanks again.

09-24-2022, 01:18 PM   #5
Pentaxian
StiffLegged's Avatar

Join Date: Jan 2018
Photos: Gallery
Posts: 3,609
QuoteOriginally posted by Retro Snapper Quote
... Where are the defaults that you changed to "no". In the camera settings or in the PE programme?
They're in Adobe Camera RAW, as supplied with Photoshop.
09-24-2022, 01:24 PM   #6
chd
Forum Member
chd's Avatar

Join Date: Dec 2018
Location: Tucson AZ
Posts: 54
I switched from using PEF to using DNG quite a while ago, mostly because it's more standardized and likely to be supported longer. Other than somewhat theoretical concerns like that though, either should work equally well.
09-25-2022, 05:22 AM   #7
Site Supporter
Site Supporter
Lowell Goudge's Avatar

Join Date: Jan 2007
Location: Toronto
Photos: Gallery | Albums
Posts: 17,374
I will throw in my $0.02 into this with a different approach. Note i am a jpeg shooter but…..

If your photo editor uses camera settings as the first pass on the raw import ( using DNG) and these settings are close to your liking, why not stay with that, sure you might still do some tweaks, but unless you build the exact same settings as a processing from the base raw files, to me it seems you would save a lot of time by starting from the camera jpeg settings. Note that as you are using DNG you could still start from scratch if you really screw up the settings, but most of the time working and thinking about your jpeg settings as you shoot will save a tone of time later

09-25-2022, 08:59 AM   #8
New Member




Join Date: Aug 2020
Location: Wolverhampton
Posts: 20
Original Poster
Thank you

Thank you every one who has commented. These questions always spark some debate, suggesting there is never one correct answer. I shall continue to experiment with jpeg, pef and dng files to see which suits me best.
I am trying to learn about post processing with the free photoshop express before I take the plunge and pay for lightroom.
Thanks again everyone.
09-26-2022, 12:02 PM   #9
Pentaxian
35mmfilmfan's Avatar

Join Date: Oct 2016
Location: Norfolk, UK
Posts: 3,301
I use DNG from my K3 and K20. I use FastStone (free), Irfanview (free) and sometimes XnView (also free), although that converts to RBG with 8 bits per channel. The adjustments can be used to give some interesting, even bizarre, effects, including Faux-Infra-Red.
09-26-2022, 01:45 PM   #10
Pentaxian




Join Date: Jan 2018
Location: Jersey C.I.
Posts: 2,681
QuoteOriginally posted by Retro Snapper Quote
Thank you every one who has commented. These questions always spark some debate, suggesting there is never one correct answer. I shall continue to experiment with jpeg, pef and dng files to see which suits me best.
I am trying to learn about post processing with the free photoshop express before I take the plunge and pay for lightroom.
Thanks again everyone.
If you want to experiment with post-processing at no cost do try the Pentax Digital Camera Utility.
The version 4 that came with the K-7 is a little dated now, but it's not difficult to update to the latest version v5.9.4 and take full advantage of software that knows all there is to know about your camera
The learning curve can be a little bit "different" and it's a bit quirky or cryptic in places, but it's a perfectly adequate piece of software if you spend a little time with it … it's even got a "faux infra-red" setting
10-02-2022, 05:34 PM - 1 Like   #11
Site Supporter
Site Supporter




Join Date: Nov 2010
Location: Huntsville, Alabama
Posts: 469
QuoteOriginally posted by Retro Snapper Quote
Thank you every one who has commented. These questions always spark some debate, suggesting there is never one correct answer. I shall continue to experiment with jpeg, pef and dng files to see which suits me best.
I am trying to learn about post processing with the free photoshop express before I take the plunge and pay for lightroom.
Thanks again everyone.
You should look into Serif's Affinity Photo instead of getting sucked into a subscription based program.
I've been using it since the initial release for Windows.
Before that it was Apple only.
It can do everything that Lightroom can do and I like it better than Lightroom.

And it is only $55 for Windows or Mac and $20 for iPad. This is with updates until the next major version (2). When I originally bought it when it was first released, I am pretty sure it included updates with no limitations.

Affinity ? Professional Creative Software

Last edited by cyclone3d; 10-02-2022 at 05:42 PM.
10-03-2022, 09:11 AM   #12
dlhawes
Guest




The word, "raw" is not an acronym, it's a descriptive adjective. Regardless of where the data comes from, "raw data" is unprocessed ("uncooked") data just as it comes from the source (which could be a phone call, a satellite transmission, or a DSLR sensor).
10-03-2022, 10:46 AM - 2 Likes   #13
Pentaxian
photoptimist's Avatar

Join Date: Jul 2016
Photos: Albums
Posts: 4,986
QuoteOriginally posted by dlhawes Quote
The word, "raw" is not an acronym, it's a descriptive adjective. Regardless of where the data comes from, "raw data" is unprocessed ("uncooked") data just as it comes from the source (which could be a phone call, a satellite transmission, or a DSLR sensor).
RAW = Requiring Algorithmic Wrangling
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, contrast, data, dng, file, files, image, in-camera, jpeg, laptop, pef, pentax help, photography, photos, photoshop, raw, settings, troubleshooting, tweak
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Spotmatics with different battery covers require different batteries? MuffinWood Troubleshooting and Beginner Help 13 06-20-2021 11:16 PM
Improved AF performance of the K-3iii with different lens types Robert N Pentax K-3 III 3 05-17-2021 08:42 AM
What do we lose in image quality with a 10-Bit RAW file versus a 14-Bit RAW file? Kendra59 Pentax DSLR Discussion 15 05-14-2021 11:03 AM
Four types of Democrats, five types of Republicans. Too partisan to govern? jeffkrol General Talk 0 09-21-2012 08:43 AM
RAW file types and differences... DaveHolmes Troubleshooting and Beginner Help 10 11-04-2010 02:02 PM



All times are GMT -7. The time now is 04:44 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top