#jpeg #binary-file #binary #image #extract #command

bin+lib jpeg_extractor

Extract jpeg images from any binary via command line

3 releases

0.1.3 Nov 5, 2023
0.1.2 Nov 5, 2023
0.1.1 Sep 3, 2021
0.1.0 Sep 3, 2021

#329 in Images

MIT license

9KB
144 lines

Crates.io Rust

jpeg_extractor

Extract JPEGs out of binary files from the command-line

Install

cargo install jpeg_extractor

Usage

To use the tool, run the following command:

Usage: jpeg_extractor <binary_file_containing_jpegs> [--verbose]

Options

  • <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.

How it works?

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'.

Limitations

Currently jpeg_extractor only supports JPEGs with EXIF data.

Contributing

If you would like to contribute to the development of jpeg_extractor, please check out CONTRIBUTING.md

No runtime deps