Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
01-01-2011, 06:45 PM   #1
Junior Member
bobby_navy's Avatar

Join Date: Nov 2010
Location: virginia beach, va
Photos: Gallery | Albums
Posts: 27
How to extract raw data from jpegs

Hi yes i read somewhere that pentax saves the raw data from the jpeg it takes. I've also stumbled on it once on accident but i cannot figure out how to do it again. I recently took a bunch of pictures of the crane by this lake but, i underexposed the pictures to capture the details in the water. My intent was to later use photoshop's fill light to recover the dark areas but, to my dismay my camera somehow switched to jpeg and now i can no longer do that. Now if you know how to could you please tell me.

01-01-2011, 06:53 PM   #2
Veteran Member




Join Date: Sep 2007
Location: USA
Posts: 1,812
QuoteOriginally posted by bobby_navy Quote
to later use photoshop's fill light to recover the dark areas but, to my dismay my camera somehow switched to jpeg and now i can no longer do that. Now if you know how to could you please tell me.
I am not too sure if one can get to the RAW from a stored JPG -
as JPG is a lossy compression.

However one can still use the fill light feature in ACR (Adobe Camera RAW) -
by merely using File, Open As.... and choosing the Camera RAW file type
This actually will open a JPG file in ACR, and allow one to use basically the same ACR manipulations.
(I just did this via PS Elements 7).

Last edited by UnknownVT; 01-01-2011 at 08:15 PM.
01-01-2011, 07:55 PM   #3
Site Supporter
Site Supporter
Ex Finn.'s Avatar

Join Date: Nov 2007
Location: Southern Maryland. Espoo. Kouvola.
Photos: Gallery | Albums
Posts: 7,975
No getting RAW from jpeg, if that is how you saved them.
01-01-2011, 09:13 PM   #4
Veteran Member
johnmflores's Avatar

Join Date: Apr 2009
Location: Somerville, NJ
Photos: Gallery | Albums
Posts: 5,361
IIRC some of the newer cameras lets you view the last photo you took as a JPG and save it as a RAW file. I think the K-r does this. Makes sense, since the data from the last JPG taken probably still exists in the camera's buffer as a RAW file. Beyond that, I don't know of any way to take a JPG and extract a RAW file.

01-01-2011, 09:27 PM   #5
Pentaxian
SpecialK's Avatar

Join Date: Dec 2006
Location: So California
Photos: Gallery
Posts: 16,482
Too late for those shots, but if you set the file format to RAW in the camera, the camera will not "somehow" switch to jpg even if you hit the RAW button.

You can later use the Pentax software to quickly "extract a jpg" from the RAW file, or convert them, which takes a bit more processing time.

If Photoshop is like Elements, you should be able to "adjust the lighting" for highlights, midrange or shadows.
01-01-2011, 09:57 PM   #6
Veteran Member
RioRico's Avatar

Join Date: Jun 2008
Location: Limbo, California
Posts: 11,263
Your RAW file is like an undeveloped negative. Your JPG file is the developed picture. Generating a JPG file throws away lots of the data in a RAW file. Once it's gone, it's gone, kaput, sayonara, bye-bye. You can't restore data that no longer exists. You CAN edit a JPG, tweak the curves and contrast and saturation etc. I've done some miraculous saves, at the cost of increased noise. No free lunch here. IMHO it's best just to shoot in RAW only and never ever touch the RAW/JPG button. But I'm paranoid.
01-02-2011, 01:02 AM   #7
Senior Member




Join Date: Jul 2008
Location: south africa, johannesburg
Photos: Gallery
Posts: 228
I use the raw + Jpeg setting at 6mp jpeg on best quality. This gives a reasonable amount of pix on my memory cards and the jpeg images are just fine for prints and slide shows. If i screwed up the exposure, I can fiddle with the raw image and try to sort it out.

I have found that the camera's jpeg engine is a really good one - play with the camera settings first though to find a saturation/contrast setting that you like.

I use the raw images as insurance and generally scrap them if I am happy with the camera jpegs. If I need a large scale print, e.g. A3 size, I can use the raw image to generate a large scale jpeg but for normal prints, there is no visible benefit in saving above the 6mp size - Fuji researched the subject some years ago and showed that 6mp produces a magazine page size print that cant be distinguished from a larger size jpeg.

Obviously, I am an amateur and have no pretensions that I am professional - but too my surprise, a pro wedding photog told me he only uses jpegs as he does not have time to convert his raw images into a jpeg format. Go figure.

01-02-2011, 01:12 AM   #8
Veteran Member




Join Date: Nov 2010
Location: Fife, Scotland
Posts: 835
I take RAW+JPG. If there was a codec for 64-bit Windows so I could see thumbnails of the RAWs via Windows Explorer I'd stop taking the JPGs and just take RAW, but until Pentax get their finger out I need both so I can browse without having to fire up Bridge.

However, I don't do anything with most of my images. I throw away the out of focus and really badly exposed, the good ones end up on Flickr and the very good ones as A4 or A3 prints at the camera club - and it can take time to work out which are which, plus some playing around in ACR/CS4.

Each one that I put on Flickr or print has been individually 'developed' and a wedding photographer doesn't have time to do that - he has to be able to show his work maybe while the reception is still in progress.

I use CS4, I hear that Lightroom is better for doing batches of similar RAWs in the same way.
01-02-2011, 05:58 AM   #9
Veteran Member
BirdDude007's Avatar

Join Date: Jun 2009
Location: Las Vegas NV
Photos: Albums
Posts: 784
QuoteOriginally posted by cats_five Quote
I take RAW+JPG. If there was a codec for 64-bit Windows so I could see thumbnails of the RAWs via Windows Explorer I'd stop taking the JPGs and just take RAW, but until Pentax get their finger out I need both so I can browse without having to fire up Bridge.

However, I don't do anything with most of my images. I throw away the out of focus and really badly exposed, the good ones end up on Flickr and the very good ones as A4 or A3 prints at the camera club - and it can take time to work out which are which, plus some playing around in ACR/CS4.

Each one that I put on Flickr or print has been individually 'developed' and a wedding photographer doesn't have time to do that - he has to be able to show his work maybe while the reception is still in progress.

I use CS4, I hear that Lightroom is better for doing batches of similar RAWs in the same way.
What you do is similar to what I do, I usually import my files via~light room, and use bridge to view them, actually though I really have no problem firing up bridge because actually it is really fast due to the fact that I have it running in the background all the time and it doesn't even slow my computer down, and I am talking laptop for that matter.
I am new to the DSLR world and basically naturally I just developed this type of work flow with my images. I do however hope they come out with a codec for Windows 7 64 bit
01-02-2011, 09:18 AM   #10
Inactive Account




Join Date: Nov 2009
Location: Indiana
Posts: 101
QuoteOriginally posted by bobby_navy Quote
Hi yes i read somewhere that pentax saves the raw data from the jpeg it takes. I've also stumbled on it once on accident but i cannot figure out how to do it again. I recently took a bunch of pictures of the crane by this lake but, i underexposed the pictures to capture the details in the water. My intent was to later use photoshop's fill light to recover the dark areas but, to my dismay my camera somehow switched to jpeg and now i can no longer do that. Now if you know how to could you please tell me.
Press the exposure compensation button (+/- Av) after taking the shot in jpg format and while reviewing. You will get a message asking if you wish to save the image in RAW format. Follow the navigation from there. It only works for the last shot as the data is retained in the buffer after writing to the card.

Last edited by DonP; 01-02-2011 at 09:19 AM. Reason: To add more info
01-02-2011, 12:38 PM   #11
Junior Member
bobby_navy's Avatar

Join Date: Nov 2010
Location: virginia beach, va
Photos: Gallery | Albums
Posts: 27
Original Poster
Thank you donp thats what i was looking for. I knew i stumbled upon it once, I just didnt know how i did it.
01-02-2011, 10:52 PM   #12
Veteran Member




Join Date: Sep 2007
Location: USA
Posts: 1,812
QuoteOriginally posted by DonP Quote
Press the exposure compensation button (+/- Av) after taking the shot in jpg format and while reviewing. You will get a message asking if you wish to save the image in RAW format. Follow the navigation from there. It only works for the last shot as the data is retained in the buffer after writing to the card.
I think this feature may be unique to the K-r (uses the +/- button) and K-5 (uses the AE-L button)

One can only save as RAW on the last shot while the image is still in the buffer - any other shots already stored as JPG cannot be saved as RAW.

extract from page 17 of the K-r manual:


extract from page 84 of the K-5 manual:


As mentioned any JPG file can be opened in ACR (Adobe Camera RAW) and the ACR manipulations such as fill light can be applied to the JPG.
01-04-2011, 03:37 PM   #13
Veteran Member
Lloydy's Avatar

Join Date: Aug 2007
Location: Shropshire, UK
Posts: 1,114
Personally I use Faststone for viewing and quick touch up work on RAW files, it's free and very intuitive.
01-04-2011, 06:19 PM   #14
Veteran Member
creampuff's Avatar

Join Date: May 2007
Location: Singapore
Photos: Gallery
Posts: 3,953
With the K-5, if you shoot in Jpeg, you can save the RAW data of the last shot jpeg image in playback. Very useful if you are a jpeg shooter and happen to need a RAW version of the last image that was shot.
01-05-2011, 03:45 AM   #15
New Member




Join Date: Oct 2009
Location: Ponferrada, España
Posts: 3
You can Look here, this in Spanish.
Conversión de JPEG a RAW. Exprimir las compactas al máximo
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, data, dslr, jpeg, photography, pictures

Similar Threads
Thread Thread Starter Forum Replies Last Post
K7 & KX picture comparision take 2 (RAW & Jpegs available for download) Daemos Pentax DSLR Discussion 65 10-29-2009 11:13 PM
Matching histogram to RAW data? FHPhotographer Pentax DSLR Discussion 34 09-15-2008 02:44 PM
iPhoto 7 RAW (DNG) EXIF Data Getting Trashed zagers Pentax DSLR Discussion 7 04-07-2008 06:19 PM
PPL's RAW>Tiff have combed histograms-K100D jpegs don't-Why? tlooknbill Digital Processing, Software, and Printing 2 11-19-2007 12:19 AM
Read ALL the EXIF data in a PEF RAW file or JPG - Freeware application Rickster Photographic Technique 0 07-11-2007 05:15 AM



All times are GMT -7. The time now is 11:37 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