68 lines
No EOL
1.3 KiB
Markdown
68 lines
No EOL
1.3 KiB
Markdown
# PNG Metadata Editor
|
|
|
|
A graphical tool for viewing and editing metadata in PNG files.
|
|
|
|

|
|
|
|
## Features
|
|
|
|
- View all metadata fields (tEXt, zTXt, iTXt chunks) in PNG files
|
|
- Add, edit, and delete metadata fields
|
|
- Pretty-print JSON-formatted values
|
|
- Copy metadata values to clipboard
|
|
- Visual indication of unsaved changes
|
|
|
|
## Installation
|
|
|
|
### Prerequisites
|
|
|
|
- Python 3.6+
|
|
- Tkinter (usually included with Python)
|
|
|
|
### Dependencies
|
|
|
|
Install required packages using pip:
|
|
|
|
```bash
|
|
pip install pillow pngmeta
|
|
```
|
|
|
|
## Usage
|
|
|
|
1. Run the application:
|
|
```bash
|
|
python png-meta-editor.py
|
|
```
|
|
|
|
2. Open a PNG file using the "Open PNG File" button
|
|
|
|
3. View metadata in the tree view on the left
|
|
4. Select a field to see its full value in the detail pane
|
|
5. Use the buttons to add, edit, or delete fields
|
|
|
|
## Building for Distribution
|
|
|
|
To create a standalone executable:
|
|
|
|
```bash
|
|
pyinstaller --name="PNG Metadata Editor" \
|
|
--windowed \
|
|
--onefile \
|
|
--icon=AppIcon.icns \
|
|
png-meta-editor.py
|
|
```
|
|
|
|
The resulting executable will be in the `dist/` directory.
|
|
|
|
## License
|
|
|
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
|
|
## Author
|
|
|
|
Robert Tusa
|
|
[Your Contact Information]
|
|
|
|
## Version History
|
|
|
|
- 2023-10-01: Initial release |