Exif Embedder is a Python application designed to embed EXIF data into a series of images. This script creates multiple black images (1x1 pixel) and embeds modified EXIF data into each, incrementing the DateTimeOriginal field by one minute for each new image. This tool is useful for testing, forensics, and educational purposes.
- Automatically generates images with embedded EXIF data.
- Increments
DateTimeOriginalin EXIF data for each image. - Saves images with very low quality to minimize disk space usage.
Before running Exif Embedder, ensure you have Python 3.x installed on your system. Additionally, you will need the Pillow (PIL fork) and piexif libraries.
-
Clone or download this repository to your local machine.
-
Install required Python packages. Open your terminal or command prompt and navigate to the directory containing the script. Run the following command to install the necessary libraries:
pip install Pillow piexif
Place the image from which you want to copy the EXIF data into the same directory as the script, or note its path.
Open a terminal or command prompt, navigate to the script's directory, and run:
python index.pyYou can modify the image_path variable in the script to point to your specific image file. Optionally, change the output_folder variable to specify a different directory for the generated images.
After you've installed the required packages and prepared your image, you can run the script as follows:
python index.pyMake sure to replace "example.jpg" with the path to your image in the script's main section.