July 30, 2021, 02:16:44 am
News: GalahTech Community Based Technical Support!
Pages: [1]   Go Down
Author Topic: Lost Topic Title  (Read 4312 times)
007shahid
Monster Poster
*

Stars: +0/-0
Offline Offline

Posts: 1254



WWW
« on: December 23, 2006, 07:45:36 pm »

Hi,

I deleted a folder containing some JPEG files, but used GetDataBack to recover most of them. The problem is that, I think the header is corrupt and I cannot read the files. I know the file dimensions, can I use a 3rd party tool to correct my files?
Logged


CornedBee
Ancient Poster
*

Stars: +0/-0
Offline Offline

Gender: Male
Posts: 5258


WWW
« Reply #1 on: December 24, 2006, 12:17:05 am »

A hex editor?
Logged

All the buzzt
CornedBee

"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond

"This is how Liberty dies - with thunderous applause."
Senator Padmé Amidala - Revenge of the Sith

007shahid
Monster Poster
*

Stars: +0/-0
Offline Offline

Posts: 1254



WWW
« Reply #2 on: December 24, 2006, 02:32:55 am »

I wouldn't know how to do that... can you give me more details?
Logged


wrack
Master of TMEOotAP
*

Stars: +3/-0
Offline Offline

Posts: 11116


Don't look back. Look in the mirror to look back.


WWW
« Reply #3 on: December 24, 2006, 11:22:18 am »

You can use a HEX EDIT software to open the file and then see which part of the header information is missing or corrupt.

Find out how many bytes are the header info for a JPEG and then compare what you have to what normally should to a good file.
Logged

CornedBee
Ancient Poster
*

Stars: +0/-0
Offline Offline

Gender: Male
Posts: 5258


WWW
« Reply #4 on: December 24, 2006, 12:32:46 pm »

You can also get a description of the JPEG format here:

Unfortunately, I can't link directly to the search results for JPEG.

File headers are generally very simple. It's just a type ID and then some fixed-width fields.
Logged

All the buzzt
CornedBee

"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond

"This is how Liberty dies - with thunderous applause."
Senator Padmé Amidala - Revenge of the Sith

007shahid
Monster Poster
*

Stars: +0/-0
Offline Offline

Posts: 1254



WWW
« Reply #5 on: December 25, 2006, 12:16:41 am »

Thanks, I'll see what I can manage
Logged


Pages: [1]   Go Up
Print
 
Jump to: