Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista music pictures video

Vista - Editing Jpeg (JFIF) headers

Reply
 
Old 08-07-2007   #1 (permalink)
Greg


 
 

Editing Jpeg (JFIF) headers

Recently Vista networking/filehandling/PhotoGallery corrupted some of my jpg
files by trashing the jpg markers.

Does anyone know whether it is possible to use a text editor to replace the
headers with an intact JFIF header from an uncorrupted file so that software
can recognise it as a jpg again? Or is each header so integral to that
particular image (in terms of defining size, etc) that you can't do that?
And if it is possible, where do the Jpg headers start and end? I don't read
hexadecimal! (Or whatever that spaghetti is)

There doesn't seem to exist yet any recovery software that works for Vista
that can recover my files.


My System SpecsSystem Spec
Old 08-07-2007   #2 (permalink)
Adam Albright


 
 

Re: Editing Jpeg (JFIF) headers

On Wed, 8 Aug 2007 11:44:10 +1000, "Greg" <greg.munro@bigpond.com>
wrote:

>Recently Vista networking/filehandling/PhotoGallery corrupted some of my jpg
>files by trashing the jpg markers.
>
>Does anyone know whether it is possible to use a text editor to replace the
>headers with an intact JFIF header from an uncorrupted file so that software
>can recognise it as a jpg again? Or is each header so integral to that
>particular image (in terms of defining size, etc) that you can't do that?
>And if it is possible, where do the Jpg headers start and end? I don't read
>hexadecimal! (Or whatever that spaghetti is)
>
>There doesn't seem to exist yet any recovery software that works for Vista
>that can recover my files.


You're getting into the tall grass and probably at minimum need a hex
editor. There's more involved than simply substitution. If you want to
give it a shot this may help:

http://www.martinreddy.net/gfx/index-hi.html

Follow to the JPEG link under 2D bitmaps then also check out the FAQ
and tools section.

My System SpecsSystem Spec
Old 08-08-2007   #3 (permalink)
Greg


 
 

Re: Editing Jpeg (JFIF) headers

Thanks. Not sure I can be bothered working that all out, and I don't have a
hex editor. Interesting site, but a bit out of date - hasn't been updated
for ten years and most of the links are broken. Rather nostalgic - even has
info on the good Amiga IFF (sigh).


"Adam Albright" <AA@ABC.net> wrote in message
news:ipaib356is03qb2fp3v0mlv3vq6f9f4jug@4ax.com...
> On Wed, 8 Aug 2007 11:44:10 +1000, "Greg" <greg.munro@bigpond.com>
> wrote:
>
>>Recently Vista networking/filehandling/PhotoGallery corrupted some of my
>>jpg
>>files by trashing the jpg markers.
>>
>>Does anyone know whether it is possible to use a text editor to replace
>>the
>>headers with an intact JFIF header from an uncorrupted file so that
>>software
>>can recognise it as a jpg again? Or is each header so integral to that
>>particular image (in terms of defining size, etc) that you can't do that?
>>And if it is possible, where do the Jpg headers start and end? I don't
>>read
>>hexadecimal! (Or whatever that spaghetti is)
>>
>>There doesn't seem to exist yet any recovery software that works for Vista
>>that can recover my files.

>
> You're getting into the tall grass and probably at minimum need a hex
> editor. There's more involved than simply substitution. If you want to
> give it a shot this may help:
>
> http://www.martinreddy.net/gfx/index-hi.html
>
> Follow to the JPEG link under 2D bitmaps then also check out the FAQ
> and tools section.
>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Doenload headers only Vista mail
Headers Only Live Mail
headers... Vista mail
CSV headers PowerShell
Headers Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46