Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
11-14-2014, 02:05 AM   #1
Forum Member




Join Date: Mar 2010
Location: The Netherlands, Uden, Noord Brabant
Photos: Gallery | Albums
Posts: 50
Help with recovery of image data

Unfortunatly, my Card was corrupted and unable to mount. Finally I deceded to do a quick format and afterwards used a Tool to find the pictures on the card and recover them. It seemed to work and i have retrieved the images (PEF) looking at them in the windows browser I can see the tumbnails, http://1drv.ms/1v8By1S

But opening them in the DXO, Pentax Ulitily, photo shop shows garbage. It seems the real image data is corrupt. After that I tried to recover the JPEG from the pef using the Pentax utility bu that did not work out.


Does anyone know how I can retrieve any image data from the pictures - It was a birthday And I would like to retrieve some image data
The Pef files can be found here http://1drv.ms/1sMbh1M


Any suggestions/help would be appreciated

11-14-2014, 03:19 AM   #2
Pentaxian
LensBeginner's Avatar

Join Date: Sep 2014
Photos: Albums
Posts: 2,604
QuoteOriginally posted by Ivo_Spohr Quote
Unfortunatly, my Card was corrupted and unable to mount. Finally I deceded to do a quick format and afterwards used a Tool to find the pictures on the card and recover them. It seemed to work and i have retrieved the images (PEF) looking at them in the windows browser I can see the tumbnails, http://1drv.ms/1v8By1S

But opening them in the DXO, Pentax Ulitily, photo shop shows garbage. It seems the real image data is corrupt. After that I tried to recover the JPEG from the pef using the Pentax utility bu that did not work out.


Does anyone know how I can retrieve any image data from the pictures - It was a birthday And I would like to retrieve some image data
The Pef files can be found here http://1drv.ms/1sMbh1M


Any suggestions/help would be appreciated
The thumbnails could be produced by the OS - depending on which codec you have installed - simply by showing the integrated jpeg preview... this is by no mean a guarantee that the content of the actual RAW file is intact (save for the embedded preview).
I'd use a tool to extract the previews from the RAW files as a first step, and then I'd try another recovery software to see if I can recover more.

For the first step you could just use ExifTool with this command:

Edit: apparently ExifTool only works with NEF files, use this free executable instead:
PEF2JPEG : Extract L* jpeg from *istD / K series raw data

Last edited by LensBeginner; 11-14-2014 at 08:46 AM.
11-14-2014, 04:28 AM   #3
Pentaxian




Join Date: Sep 2010
Posts: 2,652
Can you try to recover again using testdisk/photorec? If you haven't used it to do the recovery.
11-14-2014, 06:05 AM   #4
Pentaxian
schnitzer79's Avatar

Join Date: Jul 2013
Photos: Albums
Posts: 1,095
photorec and/or zar are good tool from recovering data.

11-14-2014, 07:47 AM   #5
Emperor and Senpai
VoiceOfReason's Avatar

Join Date: Jun 2010
Location: Nashville, IN
Posts: 5,417
I've had great luck with recuva, but it names all raw files as tiff, so I had to change the extensions to .dng and go with it.
11-14-2014, 08:11 AM   #6
Pentaxian
Not a Number's Avatar

Join Date: Mar 2012
Location: Venice, CA
Posts: 4,260
Photorec is the best recovery tool I've tested. It recognizes PEF files It recovers stuff from my card that were shot over a year ago and I've even filled the card several times since then. Save the recovered files to another storage device, not the card being recovered.
11-14-2014, 08:24 AM   #7
Pentaxian
dcshooter's Avatar

Join Date: Jan 2011
Location: Washington DC
Photos: Gallery | Albums
Posts: 4,604
You are probably hosed in terms of a full recovery, but you might have some options.

The thumbnails are generated from a second smaller preview jpeg embedded in the raw file used for in-camera viewing. That's why if you import them in Lightroom, etc., you will often see a more vivid image while it is loading, then the regular drab raw file once it's fully loaded and LR has created its own preview file. What's probably happening is the header containing the preview is not corrupted, but the actual raw data, which makes up the vast bulk of the file, has errors.

At best, you might be able to extract the previews from the files, I know there are utilities that allow you to export the LR previews as jpegs. What you might be able to do is load the images in Lightroom (if you have it), instructing it not to generate its own previews. Select "Embedded and Sidecar" under "File Handling->Build Preview" in the Import dialog. You then might be able to export using something like this. They won't be full-res, but they will be something.
11-14-2014, 08:40 AM   #8
Forum Member




Join Date: Mar 2010
Location: The Netherlands, Uden, Noord Brabant
Photos: Gallery | Albums
Posts: 50
Original Poster
QuoteOriginally posted by LensBeginner Quote
The thumbnails could be produced by the OS - depending on which codec you have installed - simply by showing the integrated jpeg preview... this is by no mean a guarantee that the content of the actual RAW file is intact (save for the embedded preview).
I'd use a tool to extract the previews from the RAW files as a first step, and then I'd try another recovery software to see if I can recover more.

For the first step you could just use ExifTool with this command:
Code:
exiftool -b -JpgFromRaw IMG0001.PEF > recover0001.jpg
I'm not familiar with the exif tool, but downloaded the latest windows executable and tried the following:
>exiftool -b -JpgFromRaw IMGP1030.PEF > IMGP1030.jpg


Gave back:


Undefined subroutine &main::Cleanup called at script/exiftool line 73.
END failed--call queue aborted at -e line 874.


and a 0 bytes jpg file
What am I doing Wrong??

11-14-2014, 08:46 AM   #9
Pentaxian
dcshooter's Avatar

Join Date: Jan 2011
Location: Washington DC
Photos: Gallery | Albums
Posts: 4,604
It could be that the corruption is causing this. If you have Lightroom, try the process I outlined above. I know from experience that Lightroom will import corrupted raw files, they just look ... "odd." Also, if you don't have LR, could you post one of the files to OneDrive, and I'll see if I can extract it for you? EDIT - just saw they are up top.

QuoteOriginally posted by Ivo_Spohr Quote
I'm not familiar with the exif tool, but downloaded the latest windows executable and tried the following:
>exiftool -b -JpgFromRaw IMGP1030.PEF > IMGP1030.jpg


Gave back:


Undefined subroutine &main::Cleanup called at script/exiftool line 73.
END failed--call queue aborted at -e line 874.


and a 0 bytes jpg file
What am I doing Wrong??
11-14-2014, 08:47 AM   #10
Pentaxian
LensBeginner's Avatar

Join Date: Sep 2014
Photos: Albums
Posts: 2,604
QuoteOriginally posted by Ivo_Spohr Quote
I'm not familiar with the exif tool, but downloaded the latest windows executable and tried the following:
>exiftool -b -JpgFromRaw IMGP1030.PEF > IMGP1030.jpg


Gave back:


Undefined subroutine &main::Cleanup called at script/exiftool line 73.
END failed--call queue aborted at -e line 874.


and a 0 bytes jpg file
What am I doing Wrong??
Sorry, my bad, just edited it:
ExifTool only works with Nikon NEF raw files.
Use this, tested a minute ago.
PEF2JPEG : Extract L* jpeg from *istD / K series raw data

---------- Post added 11-14-14 at 04:49 PM ----------

QuoteOriginally posted by dcshooter Quote
*snip*
They won't be full-res, but they will be something.
Actually my K100D Super PEF extract to jpeg at full size.
Compression is not bad at all, comparable to shooting "jpeg only" in camera
11-14-2014, 08:49 AM   #11
Pentaxian
dcshooter's Avatar

Join Date: Jan 2011
Location: Washington DC
Photos: Gallery | Albums
Posts: 4,604
Looks like the last update to that one was for K7. Might or might not work depending on the camera.

QuoteOriginally posted by LensBeginner Quote
Sorry, just edited it:
ExifTool only works with Nikon NEF raw files.
Use this, tested a minute ago.
PEF2JPEG : Extract L* jpeg from *istD / K series raw data
11-14-2014, 08:54 AM   #12
Pentaxian
LensBeginner's Avatar

Join Date: Sep 2014
Photos: Albums
Posts: 2,604
QuoteOriginally posted by dcshooter Quote
Looks like the last update to that one was for K7. Might or might not work depending on the camera.
He actually has a K7, based on the "about me" page on his profile...
11-14-2014, 09:09 AM   #13
Pentaxian
dcshooter's Avatar

Join Date: Jan 2011
Location: Washington DC
Photos: Gallery | Albums
Posts: 4,604
Just did the first one in both pef2jpg and lightroom. Corrupt ijpeg n both. Hmm. I'll try another image. Not sure of the embedded preview structure, but there might be multiple sizes (thumbnail/camera preview/etc.) and it might be that only the thumbnail squeaked through.

---------- Post added 11-14-14 at 09:15 AM ----------

OK, so I've had no success with pef2jpg, but I was able to extract a 640x425 from IMGP1047 using Ligtroom and the ExtractPreviews script. Looks like there are various levels of corruption, since I couldn't do the same with IMGP1031.
11-14-2014, 09:36 AM   #14
Pentaxian
LensBeginner's Avatar

Join Date: Sep 2014
Photos: Albums
Posts: 2,604
QuoteOriginally posted by dcshooter Quote
Just did the first one in both pef2jpg and lightroom. Corrupt ijpeg n both. Hmm. I'll try another image. Not sure of the embedded preview structure, but there might be multiple sizes (thumbnail/camera preview/etc.) and it might be that only the thumbnail squeaked through.

---------- Post added 11-14-14 at 09:15 AM ----------

OK, so I've had no success with pef2jpg, but I was able to extract a 640x425 from IMGP1047 using Ligtroom and the ExtractPreviews script. Looks like there are various levels of corruption, since I couldn't do the same with IMGP1031.
It figures... corruption is not always paying attention...
11-14-2014, 10:27 AM   #15
Forum Member




Join Date: Mar 2010
Location: The Netherlands, Uden, Noord Brabant
Photos: Gallery | Albums
Posts: 50
Original Poster
Well, it seems I'm out of luck, I have no lightroom and Pef2Jpg produces files that do not show images @!@!
If you have no other suggestions, I want to thank you LensBeginner and DC shooter both for looking into my problem
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, card, data, image, jpeg, line, pef, pentax, pentax help, photography, pictures, recovery of image, troubleshooting
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duracell Class 10.200x ProPhoto SDHC Memory Card Data Recovery Possible? Ricey79 Troubleshooting and Beginner Help 9 12-08-2013 04:51 AM
Need Data recovery guidance ismaelg Digital Processing, Software, and Printing 9 04-27-2013 02:01 AM
SD Card image recovery cats_five Troubleshooting and Beginner Help 9 09-07-2011 12:06 PM
data recovery photog55 Digital Processing, Software, and Printing 4 06-04-2009 02:01 AM



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