11 Commits
Author SHA1 Message Date
RicoandClaude Sonnet 4.6 41b2831ea8 fix save path rejected by ComfyUI 0.30.0 drive-root output dir
ComfyUI 0.30.0 tightened get_save_image_path with an os.path.commonpath
security check that incorrectly rejects subfolders of Windows drive-root
output dirs (e.g. Z:\). Added _get_save_path() which delegates to the
ComfyUI API and falls back to our own path resolution — using startswith
which handles drive roots correctly — when the "outside the output folder"
error fires.

Bumps version to 1.0.5.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-05 16:10:55 +02:00
RicoandClaude Sonnet 4.6 1b91902ba3 fix JPEG GPS EXIF not written for new images
PIL silently drops the exif= kwarg when saving a freshly-created image
(not loaded from a file). Switch to piexif.insert() post-save which
injects the EXIF APP1 segment directly into the JPEG file, bypassing
PIL's encoder entirely. Also make piexif import conditional so the node
loads cleanly even if piexif is missing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 14:41:48 +02:00
RicoandClaude Sonnet 4.6 65b35efce7 fix EXIF GPS not saved for JPEG/WebP
Switch from PIL's Image.Exif to piexif for reliable GPS sub-IFD
serialization. Also pre-check EXIF size — when workflow JSON pushes
over the 65535-byte JPEG limit, drop only the JSON and keep GPS + basic
tags rather than stripping all EXIF.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 13:02:03 +02:00
RicoandClaude Sonnet 4.6 a70d4332a4 set PublisherId to megachill
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 14:13:44 +02:00
RicoandClaude Sonnet 4.6 61afb30258 prep for ComfyUI registry publish
- Fill description and OS-independent classifier in pyproject.toml
- Bump version to 1.0.2 (includes date macro + EXIF fixes)
- Add .comfyignore to exclude dev-only files from registry archive

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 14:07:30 +02:00
RicoandClaude Sonnet 4.6 c27aa6c0b8 fix EXIF too long error for JPEG with large workflows
When workflow JSON exceeds JPEG's 65535-byte EXIF limit, fall back to
saving without embedded EXIF rather than raising ValueError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 12:32:09 +02:00
RicoandClaude Sonnet 4.6 e8246c4eeb add %date:FORMAT% macro expansion to filename prefix
Expands %date:FORMAT% and %time:FORMAT% tokens before passing the prefix
to folder_paths.get_save_image_path, fixing NotADirectoryError when the
path contains unexpanded Windows-style date macros.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 12:15:58 +02:00
Rico 5632c92669 cleanup 2026-04-13 12:45:40 +02:00
Rico f4984b1d61 added geolocation setting 2026-04-11 00:06:05 +02:00
Rico 14c52a3bf7 updated readme 2026-02-27 11:54:53 +01:00
Rico 3ee5ed5a9d init to winit 2026-02-27 11:47:32 +01:00