Switch to full style
Tools for hard drive diagnostics, repair, and data recovery
Post a reply

Truncate carved JPEG files to the correct size

April 29th, 2016, 10:42

Hi,

I had to recover JPEG files from unallocated space on a drive formatted HFS+.

The software that I used is unable to compute correctly the size of many pictures, which get an absurd file size (tens or hundred of megabytes).

I would like to know if there is some post processing tool (preferably free or cheap), which could do batch processing of all JPEG pictures in a folder and truncate them to their correct size, but without processing the image (--the bitmap--) itself to avoid any loss due to JPEG compression when the file is saved.

Thanks.

Re: Truncate carved JPEG files to the correct size

April 29th, 2016, 17:13

ISTM that you could handle most JFIF files by using a freeware binary stream editor to search for the EOI (End of Image) marker (0xFF 0xD9) at the end of the file. It would be trivial to set up a batch routine to automatically process complete directories.
Post a reply