Batch Image Metadata Generator - Extremely Useful For Automatic1111 SD Web UI
Added 2023-12-23 17:33:22 +0000 UTCJoin discord and tell me your discord username to get a special rank : SECourses Discord
Let's say you want to see META data of the generated images quickly.
Loading them into the PNG info is both slow and ineffective.
With attached write_image_meta_data.py file you can generate META data of every image in given folder.
To make it work first open a cmd and run below command
pip install Pillow
Then edit the write image metadata py file and change the folder_path you want META data of images to be generated
Then type python write_image_meta_data.py in the same folder

Then it will generate metadata such as below
parameters: Academia, portrait of ohwx man, preppy Ivy League style, stark, dramatic, chic boarding school, academia
Negative prompt: ugly, deformed, noisy, blurry, low contrast, grunge, sloppy, unkempt
Steps: 40, Sampler: DPM++ 2M SDE Karras, CFG scale: 7, Seed: 3936504685, Size: 1024x1024, Model hash: eef545047f, Model: me15img_150repeat, ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.3, ADetailer mask only top k largest: 1, ADetailer dilate erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.5, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.11.1, Version: v1.7.0-133-gde03882d

Comments
im wondering if this only works on generated images?
Phillip Berry
2024-01-08 15:41:09 +0000 UTCNot sure if im doing something wrong. it creates the txt file but every single file has the following jfif: 257 jfif_version: (1, 1) jfif_unit: 0 jfif_density: (1, 1) comment: b'A man\t\x00'
Phillip Berry
2024-01-08 15:40:55 +0000 UTCyou are welcome. thanks for comment
Furkan Gözükara
2023-12-24 11:26:02 +0000 UTCwow nice i didn't know. thanks for mention
Furkan Gözükara
2023-12-24 11:25:49 +0000 UTCNice. Thanks!
Michael Harleman
2023-12-24 11:22:43 +0000 UTC