https://github.com/geocine/remeta
ReMeta is a tool for removing and reading metadata from images via the Windows context menu, making it simple and efficient for managing image metadata.
https://github.com/geocine/remeta
Last synced: 3 months ago
JSON representation
ReMeta is a tool for removing and reading metadata from images via the Windows context menu, making it simple and efficient for managing image metadata.
- Host: GitHub
- URL: https://github.com/geocine/remeta
- Owner: geocine
- Created: 2023-01-14T17:34:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T07:36:20.000Z (over 2 years ago)
- Last Synced: 2025-04-03T03:51:12.636Z (7 months ago)
- Language: Go
- Size: 56.6 KB
- Stars: 49
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReMeta
ReMeta is a powerful tool for removing and reading metadata from PNG images generated by the Stable Diffusion Web UI.
### Reading Metadata
https://user-images.githubusercontent.com/507464/215328728-ba06be72-a0e0-4252-8e98-11b00f526ab6.mp4### Removing Metadata
https://user-images.githubusercontent.com/507464/215329121-06af4bf1-341a-4970-8277-103b44e10a8b.mp4> Note: This tool was specifically built for the Stable Diffusion Web UI. It may not work with other PNG images. This tool is only tested in Windows.
## Installation
Download `ReMeta.zip` from [this link](https://github.com/geocine/remeta/releases/download/v1.0/ReMeta.zip) or go to [Releases page](https://github.com/geocine/remeta/releases) to get the latest one. Extract it to any folder. Inside the folder you will see 3 files: `remeta.exe`, `add.reg` and `remove.reg`.
Modify path to `remeta.exe` in `add.reg`. Replace `D:\\SW\\bin` with your path to `remeta.exe`.
So if you downloaded `remeta.exe` to `C:\\tools` folder you need to change `add.reg` like this
> Notice that you need to always use double `\` , eg. `C:\\the\\folder\\of\\remeta````diff
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\ReMeta]
"MUIVerb"="ReMeta"
"AppliesTo"=".png"
"SubCommands"="ReMeta.clear;ReMeta.get"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ReMeta.clear]
@="Remove Metadata"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ReMeta.clear\command]
-@="D:\\SW\\bin\\remeta.exe remove \"%1\""
+@="C:\\tools\\remeta.exe remove \"%1\""[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ReMeta.get]
@="Get Metadata"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ReMeta.get\command]
-@="D:\\SW\\bin\\remeta.exe read \"%1\""
+@="C:\\tools\\remeta.exe read \"%1\""```
After you have modified and saved this just double click the `add.reg` file.Do you want to allow this app to make changes to your device? Yes (If asked)
Then click Yes once this shows up
## Uninstallation
Run `remove.reg` to remove ReMeta from the Windows context menu.
Do you want to allow this app to make changes to your device? Yes (If asked)
Then click Yes once this shows up
------
> Note: If you are not a developer you don't need to the information below
## Building
You need to have `go1.20rc1`
```
go install golang.org/dl/go1.20rc1@latest
go1.20rc1 download
```
Then build using the following command:
```sh
.\build.bat
```## Usage
ReMeta is a CLI tool so you can use it from the command line
Removing metadata from images. This will create a new image with the same name but with the suffix `_raw`:
```sh
remeta remove
```
You can remove in `silent` mode if you don't want to see a popup
```sh
remeta -s remove
```
Reading metadata from images. This will open a window with the metadata:
```sh
remeta read
```