Commit Graph
4 Commits
Author SHA1 Message Date
1lch2 43ca4dbacf chore: update gitignore 2026-05-25 18:40:24 +08:00
1lch2 19b5ed7ca4 fix: correct prefix path splitting with date subfolder
- Date folder {yyyy-mm-dd} is always the direct parent of the file
- Prefix directories nest above the date folder
- Trailing slash means directory-only, no filename prefix
- No slash means filename prefix only, no subdirectory
- Middle slash: before=directory, after=filename prefix
- Filename: {name_part}{counter:05d}-{seed}.{ext} (no underscore)
- Restore path traversal safety check
2026-05-25 18:21:52 +08:00
1lch2 582df5551b fix: handle trailing slash in filename_prefix
When prefix ends with '/' or '\' (e.g. "comfy-txt2img/"), append
default filename "ComfyUI" so it's treated as a subdirectory path
rather than a bare filename.
2026-05-25 17:38:05 +08:00
1lch2 9c5c9d1152 feat: fix WebP EXIF metadata and prefix path handling
- Fix WebP workflow embedding: serialize EXIF to bytes via .tobytes(),
  use WAS-convention tags (0x010f=Make for prompt, 0x010e=Desc for workflow)
- Fix prefix path splitting: use folder_paths.get_save_image_path() for
  consistent nested directory handling with built-in SaveImage
- Add .gitignore for Python project
2026-05-25 17:28:43 +08:00