Extract JPEGs out of binary files from the command-line
cargo install jpeg_extractor
To use the tool, run the following command:
Usage: jpeg_extractor <binary_file_containing_jpegs> [--verbose]
- <binary_file_containing_jpegs>: Specify the binary file from which you want to extract JPEG images.
- --verbose (optional): Use this flag to enable verbose output.
jpeg_extractor identifies JPEG images within binary files by looking for specific start and end signatures that are common to all JPEG types. The start signature is '0xFF, 0xD8, 0xFF, 0xE0', and the end signature is '0xFF, 0xD9'.
Currently jpeg_extractor only supports JPEGs with EXIF data.
If you would like to contribute to the development of jpeg_extractor, please check out CONTRIBUTING.md