11 Commits

Author SHA1 Message Date
asagi4
68adca5318 NaN-safe JSON serialization
json.dumps() will produce nonstandard JSON if there are NaNs in the data.
Javascript's JSON.parse() will refuse to load this kind of "JSON".

At least the is_changed key can be NaN or something else if a node returns NaNs
from its IS_CHANGED function.

Fortunately, json.loads() allows parsing NaN's into Nones, so round-tripping
once is a pretty easy fix.
2024-03-14 22:53:42 +02:00
comfyanonymous
0c9bc19768 Add ImageFromBatch. 2024-02-12 12:46:15 -05:00
comfyanonymous
a036b94075 Move SaveAnimated nodes to image->animation. 2023-12-17 02:37:22 -05:00
comfyanonymous
e020ab61f9 Fix output APNG not working with ffmpeg. 2023-11-24 18:24:19 -05:00
comfyanonymous
8ad5d494d5 Fix APNG not working in ffmpeg. 2023-11-24 18:14:17 -05:00
comfyanonymous
916e9c998c Use same default fps as webp node. 2023-11-24 11:19:23 -05:00
comfyanonymous
eff24ea6aa Add a node to save animated PNG files. These work in ffpmeg unlike webp. 2023-11-24 11:12:10 -05:00
comfyanonymous
022033a0e7 Fix SaveAnimatedWEBP not working when metadata is disabled. 2023-11-23 15:39:35 -05:00
comfyanonymous
a657f96c5c Add a node to save animated webp. 2023-11-23 14:28:41 -05:00
comfyanonymous
dba4f3b4fc Add a RepeatImageBatch node. 2023-11-19 06:09:01 -05:00
comfyanonymous
8a451234b3 Add ImageCrop node. 2023-11-18 04:44:17 -05:00