Corrupt JPEGs?

RhuarcRhuarc Registered Users Posts: 1,464 Major grins
edited January 28, 2006 in Finishing School
I have a few jpeg files that refuse to open. All of the file information is reported correctly (file size, image size, etc...) but when I try to open it in a program it tells me that the file format is invalid. I have heard this can happen when the JPEG header gets corrupted. Anyone have any way to fix this? here are links for several files that I know are corrupted, if anyone is able to fix them please let me know, and how you did it! Thanks! (btw, I'm desperate! lol)

L8er
Rhuarc

http://www.thehangar.us/Temp/PICT2027.JPG
http://www.thehangar.us/Temp/Picture_5.jpg
http://www.thehangar.us/Temp/Picture_5_edited-1.jpg
http://www.thehangar.us/Temp/PICT2028.JPG

Comments

  • RhuarcRhuarc Registered Users Posts: 1,464 Major grins
    edited January 28, 2006
    Anyone have any luck with this? I've still been checking around, but am not having any luck. Thanks!
  • cmasoncmason Registered Users Posts: 2,506 Major grins
    edited January 28, 2006
    Rhuarc wrote:
    Anyone have any luck with this? I've still been checking around, but am not having any luck. Thanks!

    Heck I can't even get them downloaded for some reason...
  • RichardRichard Administrators, Vanilla Admin Posts: 19,954 moderator
    edited January 28, 2006
    Rhuarc wrote:
    Anyone have any luck with this? I've still been checking around, but am not having any luck. Thanks!
    If you are comfortable with MS-DOS command lines, you might want to use jhead..exe to strip out the EXIF data and see if that solves the problem. It's a free utility that has a number of jpg manipulation functions. It's a bit of a stretch, but who knows? If you haven't tried it already, you also might want to look at XnView, another useful and free image manipulation program.

    Good luck.
  • RhuarcRhuarc Registered Users Posts: 1,464 Major grins
    edited January 28, 2006
    You couldn't download them because the links were wrong! They should be right now.

    I tried both those options. The image program told me that it could not determine the file type, and when I ran jhead it said Not JPEG: PICT2024.jpg. This occurred both when I tried to strip the header information out, and when I tried to transfer header info from another file.

    So basically programs have no idea that these files are actually jpegs! (And they really are! I didn't change the file extensions or anything! Lol. If anyone else has ANY ideas PLEASE let me know! Thanks a bunch!
  • luke_churchluke_church Registered Users Posts: 507 Major grins
    edited January 28, 2006
    Hi Rhuarc

    What created these files?

    The files are using the mode in JPEG that is covered by patents (Arithmetic encoding) this is not supported by most software.

    They're also using a lot of strange APP tags. (Like for example the file contains the APP FF0C tag, which is marked as 'reserved' by the standard

    It may be possible to get it to work by hex editting the files to remove these markers and then adjusting the size properties...

    The APP1 Marker includes http://ns.adobe.com/xap/1.0/ implying some involvement with Adobe Metadata format at some point.

    I'm intrigued. If you can say, where did these files come from?

    If you can let me know I might be able to help more

    Cheers,

    Luke
  • RhuarcRhuarc Registered Users Posts: 1,464 Major grins
    edited January 28, 2006
    These were pictures taken sith my Dimage G600 in Fine setting. I then imported them from my memory card into Photoshop Elements (may have been version 3 or 4, I'm not sure which) Only the one that says edited after it has had anything done to it, probably with the photoshop Elements Editor. I applied tag information to them in the Elements organizer, but I don't think that changes anything on the files themselves. On a few of my pictures I then had Elements write the tag information into the IPTC data of the pictures, but I'm not sure if that was done to these. Hope this helps! Thanks!
Sign In or Register to comment.