| HDD GURU FORUMS http://forum.hddguru.com/ |
|
| Truncate carved JPEG files to the correct size http://forum.hddguru.com/viewtopic.php?f=7&t=33379 |
Page 1 of 1 |
| Author: | SOSdonnees [ April 29th, 2016, 10:42 ] |
| Post subject: | Truncate carved JPEG files to the correct size |
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. |
|
| Author: | fzabkar [ April 29th, 2016, 17:13 ] |
| Post subject: | Re: Truncate carved JPEG files to the correct size |
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. |
|
| Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|