All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Truncate carved JPEG files to the correct size
PostPosted: April 29th, 2016, 10:42 
Offline

Joined: July 7th, 2014, 6:44
Posts: 192
Location: Switzerland
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.


Top
 Profile  
 
 Post subject: Re: Truncate carved JPEG files to the correct size
PostPosted: April 29th, 2016, 17:13 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15463
Location: Australia
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.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group