ReMeta is a powerful tool for removing and reading metadata from PNG images generated by the Stable Diffusion Web UI.
read-meta.mp4
remove-meta.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.
Download ReMeta.zip
from this link or go to Releases page 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
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
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
You need to have go1.20rc1
go install golang.org/dl/go1.20rc1@latest
go1.20rc1 download
Then build using the following command:
.\build.bat
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
:
remeta remove <image>
You can remove in silent
mode if you don't want to see a popup
remeta -s remove <image>
Reading metadata from images. This will open a window with the metadata:
remeta read <image>