Skip to main content

A simple commandline tool to remove the EXIF data from image files.

Project description

# 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 the 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, easy-to-use, and fast. 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.3 to v3.7 and only requires one third-party library: PIL.

To install from local source:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exif_delete-0.9.5.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file exif_delete-0.9.5.tar.gz.

File metadata

  • Download URL: exif_delete-0.9.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for exif_delete-0.9.5.tar.gz
Algorithm Hash digest
SHA256 6e36cc24dc4e58021a780a303d1f0ba104db9d1e492ff9327a04d89f24621249
MD5 ea9205ddabe3ca9f06b8e02eb341ff5d
BLAKE2b-256 b424093ff919803769b00f3e04347b6e51c32ad7ad6c57053ae5a7d292164a9f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page