Skip to content

Stokesy-dev/python-image-exif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Metadata Extractor

A simple Python script to extract various metadata, including EXIF data, from image files.

Features

  • Extracts basic image properties (filename, format, mode, size).
  • Extracts EXIF data using Pillow.
  • Extracts detailed EXIF data (including GPS information if present) using piexif.

Installation

  1. Clone the repository:

    git clone [https://github.com/YOUR_USERNAME/image_metadata_extractor.git](https://github.com/YOUR_USERNAME/image_metadata_extractor.git)
    cd image_metadata_extractor
  2. Create and activate a virtual environment (recommended):

    • Linux/macOS:
      python3 -m venv venv
      source venv/bin/activate
    • Windows:
      py -m venv venv
      .\venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Place your image file(s) in the project directory, or provide the full path to your image.
  2. Run the script:
    python get_meta.py
  3. Enter the path to the image file when prompted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages