- fix in ckpt_path: will only build subfolders if ckpt_name is also used: https://github.com/audioscavenger/save-image-extended-comfyui/pull/38
- fix for too much rounding of floats (did not affect actual value in prompt saved inside the image)
	modified:   README.md
	modified:   pyproject.toml
	modified:   save_image_extended.py
This commit is contained in:
audioscavenger
2024-12-04 20:57:21 -07:00
parent 01b16c7056
commit a75e901318
3 changed files with 9 additions and 4 deletions
+4
View File
@@ -184,6 +184,10 @@ TODO:
- [ ] keep same counter if extension changes?
- [ ] files will be out of order if prefixes change... that is expected, but is this what we want?
### release 2.77 💾
- fix in ckpt_path: will only build subfolders if ckpt_name is also used: https://github.com/audioscavenger/save-image-extended-comfyui/pull/38
- fix for too much rounding of floats (did not affect actual value in prompt saved inside the image)
### release 2.76 💾
- brought back resolution
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "save-image-extended-comfyui"
description = "Save as JXL, AVIF, WebP, JPEG, JPEG2k, customize the folder, sub-folders, and filenames of your images!"
version = "2.76"
version = "2.77"
license = { file = "LICENSE" }
dependencies = ["piexif", "imagecodecs", "pillow", "pillow-avif-plugin", "pillow-jxl-plugin"]
+4 -3
View File
@@ -11,7 +11,7 @@ import pprint
import piexif
import piexif.helper
version = 2.76
version = 2.77
avif_supported = False
jxl_supported = False
@@ -63,7 +63,7 @@ It is strongly advised to enable Badge numbers in the Manager: _#ID Nickname_
- if you don't specify the node number in your keys like _13.sampler_name_,
- then the highest node number value will be returned
- if your checkpoint/controlnet is in subfolders like SDXL/whatnot, `ckpt_name` will **not** have subfolders
- to get the subfolders from controlnets and checkpoints, use _ckpt_path_ and _control_net_path_
- to get the subfolders from controlnets and checkpoints, add _ckpt_path_ and _control_net_path_ in *addition* to _ckpt_name_ or _control_net_name_
### subfolders
- you can use `/` as the separator, or use keys such as `/name` or `name/` as a folder separator
@@ -453,7 +453,8 @@ ComfyUI can only load PNG and WebP at the moment, AVIF is a PR still not merged.
delim = ''
if isinstance(value, float):
value = round(float(value), 1)
# value = round(float(value), 1) # too much rounding
value = float(f'{value:.10g}')
custom_name += f"{delim}{value}"
# print(f"debug generate_custom_name: ------custom_name: {custom_name}")