exif_delete
All the photos you share online contain metadata. This metadata can include:
- the location the photo was taken
- the time the photo was taken
- detailed information about your camera / phone
Facebook (and most other online advertisers) make money by tracking and selling your personal information. But you should be in control of what information you share with the world.
Enter the exif_delete tool.
This is a simple Python script that I use to strip all of the metadata from my photos before I share them online. It is lightweight and easy-to-use. If you are like me, you take a lot of photos, and this tool will help protect your privacy.
Installation
This script will work with Python v3.4 to v3.7 and only requires one third-party library: PIL.
You can install this tool using PyPI to grab the code and install it online by doing:
pip install exif_delete
Or you can install from this repo locally:
python setup.py install
Usage
This is a simple commandline tool. Just pass the name of the image file(s) you want to strip to the script, and it will do the rest:
python exif_delete.py /path/to/my/image.jpg
python exif_delete.py image1.jpg image2.png image3.gif
python exif_delete.py /path/to/*/my/images/*.jpg
By default, the script will create a new image file with "_safe" appended to the file name. For instance, this:
/full/path/to/image1234.jpg
will become:
/full/path/to/image1234_safe.jpg
However, if you want to just over-write the original image file by stripping all the EXIF data from it, you can add the --replace flag:
python exif_delete.py --replace /path/to/my/image.jpg
Metadata
Release files for exif-delete 0.9.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exif_delete-0.9.8.tar.gz | 4.6 kB | Without provenance | Details for exif_delete-0.9.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exif_delete-0.9.8-py3.6.egg | Legacy Egg format | - | - | Details for exif_delete-0.9.8-py3.6.egg |
Total release size: 9.9 kB
Release files / exif_delete-0.9.8.tar.gz
| Download URL | exif_delete-0.9.8.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af8794e149ed0ce5ac1a0fa0ed3fae870293006e718f0c3fb3dc40d28ec14638
|
|
BLAKE2b-256 checksum How to use checksums |
6f61ca197f66a8ace82b4b715d95d62ae868ce122b75a0cd0ccdf6a7efe40f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / exif_delete-0.9.8-py3.6.egg
| Download URL | exif_delete-0.9.8-py3.6.egg |
|---|---|
| Size | 5.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
aa7cd47fffa39750aa8f1b24bf3c045a704e55a6377699200e660ffec5d0845b
|
|
BLAKE2b-256 checksum How to use checksums |
d649534696dd33f656cf38f6ca28b89e1c7117ae7be390b5b5fd52027f75ac5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for exif-delete 0.9.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.