Some images store UserComment directly in IFD0 with type BYTE instead of the standard Exif sub-IFD with type UNDEFINED, causing piexif to return empty results. Add a raw EXIF fallback to extract and decode UserComment in both ComfyUI detection and webui gen info reading. - Add _extract_usercomment_from_raw_exif() for raw IFD0 parsing - Add detection fallback in is_img_created_by_comfyui() for JPEG/WEBP - Add extraction fallback in read_sd_webui_gen_info_from_image() - In dev mode, bypass DB cache for unedited images to aid debugging |
||
|---|---|---|
| .. | ||
| db | ||
| parsers | ||
| api.py | ||
| auto_tag.py | ||
| dir_cover_cache.py | ||
| fastapi_video.py | ||
| img_cache_gen.py | ||
| logger.py | ||
| organize_files.py | ||
| plugin.py | ||
| seq.py | ||
| tag_graph.py | ||
| tool.py | ||
| topic_cluster.py | ||
| video_cover_gen.py | ||