Why are JPEG files found damaged without a reason?!

October 24, 2014 at 15:30:30
Specs: Windows 8.1 Enterprise

Hi all...I found an old case on your nice website about damaged JPEGs (named: Causes & How To Avoid Damaged Jpeg Picture Files) but unfortunately what helped the man with that problem or ass suggested to copy the files to a different folder doesn't helped me and I will try to explain my problem with all the info I can think of:

I had many pictures taken from my new and from my old camera (both a middle class cameras which take pics in .jpg format) and I have stored some of them on CDs, DVDs, External HDDs and on the laptop. Everything was fine until I saw a strange problem that happened to various pictures of mine and it doesn't mattered old or new just look like that a random damage occurred. I open a folder and I see that the pictures in the thumbnails look okay, I can see the full picture in the thumbnail, but when I open the picture (doesn't matter with which program) the pictures are corrupted ( not all of them but 20/80)... I see partial image or it is missing the bottom half or have lines running through them but they all look good in thumbnails and the most strange thing is that before I opened them they were perfect in thumbnails and after I saw the problem and restarted the PC for some reason or closed and opened the folder again I can now see them damaged in the thumbnails...the pictures haven't been lost or restored or whatever...they were just taken, then transferred from the camera to the computer HDD and in the day of the transfer I always check the pictures and every-last one of them was okay ...there is one more strange thing...On the other laptop (an old model with windows 7) when I plug the external HDD almost all of the pictures on it seems and are fine...just a few broken and when I connect the HDD to the new laptop most of the pictures are broken or look okay until I open them...the windows 8.1 is a brand new copy only a few hours running...and the same problem exists... I hope I have made myself clear about my problem that drives me crazy and I thanks in advance to anyone with an idea or ideas that can help me resolve my problem!

edited by moderator: Added missing link


See More: Why are JPEG files found damaged without a reason?!

Report •


#1
October 24, 2014 at 18:38:49
"on CDs, DVDs, External HDDs and on the laptop"
Are you saying that corrupted pictures are appearing on all the above places?

Not easy to think of a way forward but here's a long shot. Download and install IrfanView:
http://www.irfanview.com/

It is just a viewer but at odd times I have found corrupted pictures can be viewed in it, which means they can then be resaved elsewhere. Unless you want to use IrfanView as your viewer then don't set any file types with it. Just open the viewer then browse for a picture.

You might just get lucky with a few of them.

Always pop back and let us know the outcome - thanks


Report •

#2
October 24, 2014 at 22:04:10
Thanks for the fast reply! I have already installed irfanView and the situation is the same...the damaged pictures are appearing only on the new laptop HDD not on old CDs or DVDs...and if I copy them to a usb flash drive and move them to a different computer, they became damaged too... The most strange thing is about the external HDDs which connected on the new laptop has many "broken" pictures on it, but when I reconnect it to the old laptop with windows 7 only a few appear broken...and it does not matter if the HDDs is connected to the USB 3.0 or 2.0....

message edited by GeorgiBaldzhiev


Report •

#3
October 25, 2014 at 00:40:07
A couple things:

Are you sure your viewers are compatible with 8.1 and probably an X64 cpu?

Bad ram can cause corrupted files. You've got a new system so it doesn't seem like that would be the problem but it wouldn't hurt to run something like memtest:

http://www.memtest.org/

You can download an ISO there to create a bootable cd.


Report •

Related Solutions

#4
October 25, 2014 at 23:03:28
I have tested the laptop with memtest several times (8 to be specific) and no errors occurred!

How can I be sure about the compatibility of the viewers with the windows 8.1 and the x64 CPU?

I haven't mentioned the laptop specifications:
Acer Aspire V3-772G
Windows 8.1 x64
Intel Core i7-4702MQ Quad-core 2.20 GHz
17.3" Full HD (1920 x 1080) 16:9
Build in Intel HD graphics 4600
NVIDIA GeForce GTX 760M with 2 GB Dedicated Memory
8 GB, DDR3L SDRAM Kingston 1333Mhz
1 TB HDD

message edited by GeorgiBaldzhiev


Report •

#5
October 25, 2014 at 23:44:55
I'd expect any viewing software included with windows such as internet explorer would be compatible. Viewing JPGs is pretty basic stuff so a compatibility problem is kind of a long shot.

Does the file size of the jpgs seem to have an association--for example, do smaller files usually show OK but larger ones are more often broken?

The only other thing I can think of is video drivers. You might check to see if there's an update.

message edited by DAVEINCAPS


Report •

#6
October 26, 2014 at 11:13:29
The file size is random, the time the "broken" pictures are taken and transferred to the computer is random too...there are very small files (near 600kb) and bigger files near 5MB) and files from 2009 that are broken and files taken 2-3 mounts ago...some are broken others not... there isn't anything in common...

I have re-installed the drivers both on the Intel 4600 and the Nvidia and they are up to date...I have installed the old ones just for the test...but again no progress...

The most bizarre thing is that for example when I browse the folders and open one that I haven't been browsing in a long time, I first see all of the pictures in thumbnails as they load and they are fine...but the HDD need a few seconds to load all the thumbnails properly and after these 1-2 or 3 sec the thumbnails change to their broken view and if I open the folder later again they stay broken and I could not see them fine in the thumbnails....

P.S - I have installed Adobe Photoshop Lightroom 5.6 64-bit and the program wants me to import pictures in a catalog...I click on the desktop where I have a folder with 95% of the pictures broken in it and I see the thumbnails of the pics fine from the Photoshop lightroom...I can see the hole picture in the thumbnails and it is looking fine, but when I open it I see it broken...and when I click on "import" in Photoshop lightroom the pictures after the importation is done became all broken in the program...

message edited by GeorgiBaldzhiev


Report •

#7
October 26, 2014 at 21:49:03
Yeah it's an odd one. I did a google search for jpg corrupted and got a lot of hits for repairing corrupted jpgs but not much on what causes it. I did find this:

https://github.com/DaftMonk/generat...

where someone reported his jpg files with an uppercase file extension were corrupted in windows 7.

As far as you know is it just jpg files that are corrupted--no other file types? It might be harder to tell with files like program files, at least until they stopped working. But text files and Word files if corrupted would show that way when you opened them.

Maybe another consideration would be software running in the background. You might also try manipulating them in safe mode and see if the same thing happens.

I think if this was a widespread problem with windows 8 we would have more postings about it so I'm assuming it's something specific to your particular system.


Report •

#8
October 27, 2014 at 12:20:55
All of the pictures are with lower case broken or not ( .jpg at the end) and when I entered in Safe mode as you told me to try... I saw this: I open the folder with all of the "broken" files, I saw the pictures in thumbnails that they are okay, and after 2-3 secs when the HDD loaded all of the thumbnails they became broken again...

I am so lost in all this...just wanted to say MANY Thanks to all for at least giving me more different ways to try to fix or find where the problem is, that I haven't thought of them myself...

P.S. - I also find that there is info about every picture, in meaning, what camera had taken it, date, pixels and etc. and there is a option to remove/delete this information so I tried this too...nothing happened....

Only jpeg files has this problem...everything else is okey...

message edited by GeorgiBaldzhiev


Report •

#9
October 27, 2014 at 20:32:09
It's kinda acting like it'll only 'hold' a certain number of pictures before corrupting them. Create a folder and copy some of them there. Then change their names to something small like 01.jpg, 02.jpg, etc. Then see if you have the same problem when opening them.

Report •

#10
October 28, 2014 at 12:54:27
Same problem... I have change the pictures with log names to small names and I founded pictures with already small names ( 1,2,3 etc.) that were broken too....

Report •

#11
October 28, 2014 at 23:50:00
I found this older thread:

http://www.dpchallenge.com/forum.ph...

Looks like it's been running for several years with several people posting in with new problems and suggestions. Some of the things I suggested and you ruled out, like bad ram, are mentioned there. Couple of things there I didn't think of was the video card itself, not the drivers and possibly too much ram. I don't know how much ram you're running--and windows 8 should be able to handle whatever it is--but still if possible you might want to temporarily reduce it and see what happens.

Another thing, if you have any USB devices connected you don't need, disconnect them. Sometimes, for reasons unknown, some USB devices cause odd behavior.


Report •

#12
November 1, 2014 at 15:30:50
Sorry for replying so late, too much work these days...

So, the problem is stranger than I thought, and it is connected only with the pictures from my point of view... Today I have connected the external HDD to the other laptop to check the pictures again and try to find some differences between them...The pictures thumbnails are perfect, I can see the pictures and everything but when I open the pic it open only a little on the top...the other is crap, just blue, gray and etc. pixels...but never-mind that they are broken now...I am absolutely sure that the pictures were fine 3-4 month ago...the pictures are on my last car that I have sold and I have taken the pictures for the Ad in a web site for selling cars....

I will appreciate if some one tells me the best way/ways to preserve and store pictures in the future, and prevent myself in falling again in this nonsense...


Report •

#13
November 1, 2014 at 23:31:01
If you put the uncorrupted pictures on cd-r disks then they should be safe. Even if some process caused them to be corrupted when viewed they'd still be safe on the disks because once on the disks, files can't be changed.

Like you I wish I knew what was causing all this. Have you done extensive virus and malware scans?


Report •

#14
December 1, 2014 at 15:29:25
Hi again! I tried everything to "break" any of the pictures, but without any luck... The only thing that is in my mind and that I think might be causing the problem, although this does not explain why they were okey for a few months, is downloading pictures directly from the camera with a cable and not to remove the SD card and put it into the card reader...

There isn't any viruses on the computer...and form my experience gathered in years, I think I know how to browse the internet as safely as possible...

message edited by GeorgiBaldzhiev


Report •

#15
December 1, 2014 at 15:59:45
It won't help but I don't think the fact that the thumbnail is OK means much because this is put into the header at the outset. If the body of the jpg becomes corrupted rather than the header you will see exactly the result you are getting.

I know it sounds crackpot (and probably is) but have you tried opening them in Paint? If you managed that you could resave them as bmp (full) files then call them up and save them again as jpg (compressed) files. It would be worth trying one in Paint even if it is still bad, then try saving it as a bmp just to see if the result of this new file is any better when opened.

Always pop back and let us know the outcome - thanks

message edited by Derek


Report •

#16
December 1, 2014 at 22:28:41
You say you think it's possible the difference in corrupted and non-corrupted pictures is whether you moved them from the camera with the USB cable or with a card reader. That doesn't seem like it would matter but is that a difference you've noticed or are you just guessing?

Report •

#17
December 2, 2014 at 11:01:03
I tried the trick with paint. I had re-saved them in every possible format that paint provides and turned them back to jpeg-s, but nothing happens in positive nor negative way...

About the USB cable or the card reader saving of the pictures, I was just guessing and this does not explain why they were fine for a couple of months. But after all day thinking today...I am pretty sure that the newly broken pics are saved on the computer directly form the camera...


Report •

#18
December 2, 2014 at 11:33:49
Well, the Paint idea was something of a "long shot".

They "can" go bad but I'll admit to not having a clue why - presumably some sort of corruption. I once had some zipped bmp files that came back badly pixelated when I called them back years later. I was never able to work out why, unless it was due to a different algorithm.

I'm out of ideas on this. There are all sorts of fancy programs on the net (that you pay for) which claim to sort out this kind of problem but I am generally sceptical until some unbiased person, such as yourself, can say otherwise.

Always pop back and let us know the outcome - thanks


Report •

#19
December 2, 2014 at 11:50:05
I am having a few days off work in the near future and I did not like the windows I am running now, so I will install every last one of the software that claims that fix this kind of problems and I will tell you all the result...But from a previous experience most of them a programs that "repair" deleted files and not broken one...

P.S.- if anyone is curious about the pictures and want to experiment / see them I can upload a few of them on a "share" site...


Report •

#20
December 2, 2014 at 12:13:19
By all means upload a sample or two on the off-chance that it might give us some sort of clue. Thanks.

Always pop back and let us know the outcome - thanks


Report •

#21
December 2, 2014 at 13:42:03
These are pictures of an old car of mine that I have sold. The pictures with numbers (1,3, etc.) are pictures that I have cropped, re-sized and etc. for the car sale website, and the others are from the camera and I haven't made any changes to them.

This is the link with the pictures:
https://www.sendspace.com/file/38wtt3

message edited by GeorgiBaldzhiev


Report •

#22
December 2, 2014 at 14:23:57
That website used a less usual compressed file type (rar) containing the images. However I have rar facilities and by downloading the file and sending the contents to a folder I was able to view all 14 of them.

Sorry but not much hope I'm afraid. In every case only the very top part of the picture was intact, so they had all corrupted at almost the start of the picture. It does give me and others a chance to play with the results but I feel sure nobody will be able to decipher them.

Always pop back and let us know the outcome - thanks


Report •

#23
December 2, 2014 at 15:23:47
A bit more to #22. Although I don't think this is a header issue, you might care to see this:
https://samsclass.info/121/proj/p7-...

I didn't go through the whole process as my own Hex editor is small and limited. The first three pairs in the table were correct in each case. It seems that the "fourth pair of digits" should be one of these combinations for a jpg picture:

DB E0 E1 E2 E3 E8

(Note that E0 is E zero not E nought)

They all complied to one of these pairs but nevertheless on one file I tried changing to each of the other 5 listed above and no dice.

You are obviously welcome to go through the whole process using "copies" but I doubt you will be any luckier than I was.

Always pop back and let us know the outcome - thanks


Report •


Ask Question