ceottaki Posted July 2, 2010 Share Posted July 2, 2010 <p>Dear all,<br /> I have a Nikon D40, and my computer has the software that came with it installed: Nikon PictureProject 1.7.<br /> A friend of mine was visiting and he has a Nikon D5000. We used my software to download his RAW files from his camera, and I have the "Rotate image automatically" option on.<br /> Now all the photos that were in portrait orientation have been somewhat corrupted and no software I have opens them, I've tried PictureProject, Photoshop CS4, Lightroom 2, Windows Photo Gallery, Picasa... The photo info seems to be there but I can't retrieve it.<br /> Any ideas?<br /> If needed I can send the NEF file.</p><p>Thanks!<br /> Felipe.</p> Link to comment Share on other sites More sharing options...
976photo Posted July 2, 2010 Share Posted July 2, 2010 <p>you'll have to rotate them back on the card. When you opened them the auto rotate rotated the pics and saved them like that to the card, and now they read error. They'll need to be rotated back and saved that way on the card. Probably the best thing is to open them in the same software and turn off auto rotate. You'll then have to manually rotate each of the portrait pics back to landscape so that it saves that way on the card.</p> <p>That happened to me a while back with my Nikon point and shoot, and they were JPEG files. </p> Link to comment Share on other sites More sharing options...
976photo Posted July 2, 2010 Share Posted July 2, 2010 <p>Wait, you said Picture Project still won't open them? Are they reading error on his camera also when he pulls up the picture review or is it just happening on your computer and hard drive?</p> Link to comment Share on other sites More sharing options...
william_saywell Posted July 2, 2010 Share Posted July 2, 2010 <p>Why use 'software' to download files from camera?<br> better and quicker to copy from card using card reader. Don't delete from card until file integrity on the computer is confirmed, and ideally do your backu-up before working on them.<br> In other words, try to avoid having only one copy of the image, and definitely avoid working on the sole copy!</p> <p>William</p> Link to comment Share on other sites More sharing options...
ceottaki Posted July 2, 2010 Author Share Posted July 2, 2010 <p>Picture Project opens the file and shows it correctly, although when it is displaying the image it shows a message under it saying "Unknown Error". The option to rotate the image is enabled, I can rotate it in Picture Project but still I can't open it anywhere else.<br> Also, these files are not in the camera or SD card anymore, they have been downloaded to my computer and deleted from the SD card.</p> Link to comment Share on other sites More sharing options...
ceottaki Posted July 2, 2010 Author Share Posted July 2, 2010 <p>William,<br> Thanks for your reply, and downloading and backing up, then deleting is my normal practice, but it wasn't what was done this time, unfortunately. The file has been downloaded from the SD card using Nikon's software, and deleted from the card.<br> I have obviously learned from this episode and won't be doing that anymore, but I would still like to recover these files, if possible.</p> Link to comment Share on other sites More sharing options...
elliot1 Posted July 2, 2010 Share Posted July 2, 2010 <p>This may be a long shot - copy the image that won't open (or all of them) back onto an SD card and try viewing them on another computer.</p> Link to comment Share on other sites More sharing options...
frank_skomial Posted July 2, 2010 Share Posted July 2, 2010 <p>The solution seems simple.</p> <p>1. Uninstall Nikon software from your computer.</p> <p>2. Re-Install the Nikon software that came with your camera, and worked well for you.</p> <p>3. Next time, watch what your friend is doing on your computer, or better yet, YOU do the picture transfers for him, possibly just using Windows Explorer.</p> Link to comment Share on other sites More sharing options...
bgelfand Posted July 2, 2010 Share Posted July 2, 2010 <p>First, do not reuse the card. Get one of the recovery programs and recover the deleted files from the card.</p> Link to comment Share on other sites More sharing options...
walterh Posted July 3, 2010 Share Posted July 3, 2010 <p>Brooks is right. If files are deleted from a card the "deletion" should only be a flag raised in the directory that the file is "deleted". Nothing else is changed and the file should actually be still in its original place on the card. Just the operating system does not show its presence since it is flagged as deleted.</p> <p>So if you continue using the card the operating system will use this "free" space and may overwrite this space.</p> <p>If this does not happen it is a simple task for a recovery program to just remove the "flag" and the file will show up again.<br> Your card may have come with a utility software to recover files in such circumstances.</p> Link to comment Share on other sites More sharing options...
ceottaki Posted July 3, 2010 Author Share Posted July 3, 2010 Thanks for all the replies. This whole thing actually happened a while ago so the card has long being reused. It would be a matter of really working with the files we have now... Link to comment Share on other sites More sharing options...
leighb Posted July 5, 2010 Share Posted July 5, 2010 <p>Try opening the NEFs using Irfanview. Free download from www.irfanview.com<br> Download both the base program and the add-on file. Install the add-ons after installing the base program.</p> <p>It reads NEF files routinely, using a different graphics engine than most other programs, so it might work.</p> <p>- Leigh</p> Link to comment Share on other sites More sharing options...
Richard Williams Posted July 10, 2010 Share Posted July 10, 2010 <p>Unfortunately this is a known issue - the version of Nikon Transfer included with Picture Project corrupts files from recent cameras in some circumstances, e.g.:<br> http://www.photo.net/nikon-camera-forum/00OSgn<br> One fix that apparently works on a few (not all) files corrupted in this way is to convert to DNG and use a non-Nikon raw converter like ACR to handle the files. You might try contacting Bill Claff, who has written utilities for fixing some forms of NEF file corruption in the past:<br> http://home.comcast.net/~NikonD70/<br> Because of this sort of issue, I always copy files from media cards using the OS rather than Nikon's software. But if you do need a Nikon utility that's compatible with all their cameras, see:<br> http://nikonimglib.com/nvnx/</p> <p>?</p> Link to comment Share on other sites More sharing options...
ceottaki Posted July 12, 2010 Author Share Posted July 12, 2010 <p>Hello all.</p> <p>Thank you very much for all the replies, I have now solved the issue. Unfortunately I could not convert the files to DNG, that was one of the first things I tried, but after investigating the file itself for a while I found out that the problem lays on its metadata, as I first suspected, since only the auto-rotated portrait photos had a problem.</p> <p>Removing all metadata from a RAW file is an error, the file still can't be opened that way because some metadata is necessary to interpret how the photo was taken by the camera. I also could not pinpoint what exact item of metadata had the problem, because it seemed to be one of Nikon's specific ones with binary information.</p> <p>What actually worked was to take another portrait-oriented photo with the D5000, of a white wall (or of a gray card), save the original metadata of the problem file to an XMP file, overwrite all metadata of the problem file with the gray card photo, then restore only the non-Nikon-specific metadata to the problem file. That saved my files.<br> I have written a script that uses exiftool to do all this, so let me know if anybody needs that and I will send it.</p> <p>The interesting thing was that I contacted Nikon about the problem and I told them what I did to solve the problem, but I still asked them what was the metadata that caused the problem so I could perhaps write another script that was more specific to the problem, but they were not able to (or wouldn't) tell me. Anyways, my photos have all been corrected now.</p> <p>Thanks again for your help.</p> <p>Kind regards,<br />Felipe. </p> Link to comment Share on other sites More sharing options...
Richard Williams Posted July 12, 2010 Share Posted July 12, 2010 <p>Congratulations on an ingenious solution! I guess this way you lose minor things like the 'as shot' white balance and some lens data that are stored (and AFAIR encrypted) in the MakerNote, but that's a very small price to pay for rescuing your images. It would be worth documenting this somewhere public - did you do this in Perl or just make a batch file of exiftool commands?</p> Link to comment Share on other sites More sharing options...
ceottaki Posted July 12, 2010 Author Share Posted July 12, 2010 <p>Hello, Richard. Thanks for your compliment.</p> <p>I have published the whole story, including a link to the batch file I created, here: <a href="http://geekswithblogs.net/felipe/archive/2010/07/12/140879.aspx">http://geekswithblogs.net/felipe/archive/2010/07/12/140879.aspx</a></p> <p>I hope this helps other people with the same problem. I would like to thank you all for giving it a shot and also Phil Harvey for his wonderful ExifTool.</p> Link to comment Share on other sites More sharing options...
mike_dunn2 Posted November 4, 2010 Share Posted November 4, 2010 <p>I had a problem much like yours. I could not open certain photos I had taken on vacation. I originally had a D-40, moved up to a D80, that got stolen right after I bought it and now have a D90. I never downloaded the Nikon program to view my pictures. I normally use Photo Shop. Well I downloaded a Nikon program but still could not print the photos. I could however view them I ended up taking my memory card to a photo shop and they recovered the photos. What caused the problem was me changing the settings to Raw/Nef. The shop converted the photos to JPEG.<br> What I found out later is the Nikon program for D-40 or D80 does not work with my D90. I can now open the photos shot in raw on my PC and print them.</p> Link to comment Share on other sites More sharing options...
ceottaki Posted November 4, 2010 Author Share Posted November 4, 2010 <p>Dear Mike,<br> The problem of how your photo shop recovered the photos is that you lost all the goodness of the RAW format, while the method I used, although more complicated, kept the files as RAW and allowed me to process them later on.<br> We all need to be really careful when using the Nikon software to open other camera's files and make sure the cameras are supported.<br> Anyways, thanks for the response.</p> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now