An open API service indexing awesome lists of open source software.

https://github.com/hakangokdev/exif-metadata-editor

exif metadata editor python
https://github.com/hakangokdev/exif-metadata-editor

exif flask python

Last synced: 2 months ago
JSON representation

exif metadata editor python

Awesome Lists containing this project

README

          

# ๐Ÿ“ทโœจ EXIF Metadata Editor โœจ๐Ÿ“ท

A modern and intuitive web application designed to help you view, edit, and save EXIF (Exchangeable Image File Format) metadata for your images. Easily modify details like date, time, GPS coordinates, and camera information, then save the updated data directly back to the image file.

Original repository: [https://github.com/justpeder1/Exif-Metadata-Editor](https://github.com/justpeder1/Exif-Metadata-Editor)

---

## ๐ŸŒŸ Features

* ๐Ÿ–ผ๏ธ **Image Upload:** Simple drag-and-drop or file selection for image uploads.
* ๐Ÿ“Š **EXIF Viewing:** Clearly displays existing EXIF metadata.
* โœ๏ธ **Metadata Editing:** Modify various EXIF tags including:
* ๐Ÿ“… Date & Time (DateTimeOriginal, DateTime, DateTimeDigitized)
* ๐Ÿ“ GPS Location (Latitude, Longitude)
* ๐Ÿ“ธ Camera Information (Make, Model)
* ๐Ÿ—‘๏ธ **Metadata Removal:** Easily strip all EXIF metadata from your images for privacy.
* โฌ‡๏ธ **Image Download:** Download your images with or without metadata after editing.
* ๐Ÿ—บ๏ธ **Interactive Map:** Visual map interface (using Leaflet.js) for viewing and setting GPS coordinates.
* ๐ŸŽจ **Modern UI:** Sleek interface built with Tailwind CSS.
* ๐ŸŒ— **Dark/Light Mode:** Toggle between themes for comfortable viewing.
* ๐Ÿ“ฑ **Responsive Design:** Adapts seamlessly to desktop and mobile devices.

---

## โš™๏ธ Technology Stack

* **Backend:** ๐Ÿ Python (Flask)
* **Image Processing:** ๐Ÿ–ผ๏ธ Pillow (PIL Fork)
* **Frontend:** ๐ŸŽจ Tailwind CSS, Alpine.js
* **Maps:** ๐Ÿ—บ๏ธ Leaflet.js

---

## ๐Ÿš€ Getting Started

Follow these instructions to get the project up and running on your local machine.

### Prerequisites

* Python 3.7+ installed
* `pip` (Python package installer)

### Installation

1. **Clone the repository:**
```bash
git clone https://github.com/justpeder1/Exif-Metadata-Editor
cd exif-metadata-editor
```

2. **Create and activate a virtual environment** (Recommended):

* On Windows:
```bash
python -m venv venv
.\venv\Scripts\activate
```
* On macOS/Linux:
```bash
python3 -m venv venv
source venv/bin/activate
```

3. **Install dependencies:**
```bash
pip install -r requirements.txt
```

4. **Set up environment variables:**
Create a `.env` file in the project root and add your secret key:
```
SECRET_KEY='your-super-secret-key-here'
FLASK_DEBUG=True # Optional: for development mode
```
*Replace `'your-super-secret-key-here'` with a strong, unique secret key.*

### Running the Application

1. **Start the Flask development server:**
```bash
flask run
```
*(If `flask run` doesn't work, you might need to use `python app.py` depending on your setup).*

2. **Access the application:**
Open your web browser and navigate to:
[`http://127.0.0.1:5000/`](http://127.0.0.1:5000/)

---

## ๐Ÿ–ฑ๏ธ How to Use

1. **Upload:** Drag & drop an image onto the designated area or click "Dosya Seรง" (Select File).
2. **View:** EXIF data will be automatically extracted and displayed across different tabs (Basic Info, Date & Time, Location, Camera).
3. **Edit:** Click "Metadata Dรผzenle" (Edit Metadata).
4. **Modify:** Make changes in the input fields or click on the map to set a location.
5. **Save:** Click "DeฤŸiลŸiklikleri Kaydet" (Save Changes) to apply the modifications to the image file's metadata.
6. **Remove Metadata:** Click "Metadata Sil" to strip all EXIF data from the image.
7. **Download:** Use the "Resmi ฤฐndir" button to download the image with or without metadata.

---

## ๐Ÿ”’ Privacy Features

This tool includes features designed to help protect your privacy:

* Remove all EXIF metadata from images before sharing them online
* Strip out GPS location data that might reveal sensitive location information
* Download processed images with metadata removed

---

## ๐Ÿค Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues to improve the application.

---

## ๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.