diff --git a/README.md b/README.md new file mode 100644 index 0000000..ddec606 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# ComfyUI-RenderRiftNodes + +## Description +Hey everyone! I've whipped up a cool little node pack for ComfyUI. It's just a few nodes I made for myself, but I think they're pretty neat. We've got three main players here. First, there’s the Custom Output Folder String Generator for keeping your files tidy. Next, the LoadImageWithMetadata node – it’s a real game changer because it lets you pull up image metadata, which is perfect for the third node, the Image Metadata Overlay Node. This one lets you overlay that metadata right onto your images. LoadImageWithMetadata was actually made specifically to get the Metadata Overlay Node working. + +## Examples +TBC \ No newline at end of file diff --git a/__init__.py b/__init__.py index 8a6692e..1cdcb2b 100644 --- a/__init__.py +++ b/__init__.py @@ -9,7 +9,7 @@ NODE_CLASS_MAPPINGS = { NODE_DISPLAY_NAME_MAPPINGS = { "DateIntegerNode": "Customer Date Folder Format", - "MetadataOverlayNode": "Image & Metadata Overlay Node", + "MetadataOverlayNode": "Image Metadata Overlay Node", "LoadImageWithMeta": "LoadImageWithMeta", } diff --git a/date_integer_node.py b/date_integer_node.py index 8ec52d4..1bbc28d 100644 --- a/date_integer_node.py +++ b/date_integer_node.py @@ -6,7 +6,6 @@ import numpy as np import json import textwrap from PIL import Image, ImageOps, ImageDraw, ImageFont -from tinytag import TinyTag import folder_paths def process_text(anything): @@ -32,7 +31,7 @@ class MetadataOverlayNode: "loras": ("BOOLEAN", {"default": False}), }, "optional": { - "origonal_vid_optional": ("IMAGE",), + "original_vid_optional": ("IMAGE",), "image3": ("IMAGE",), "metadata3": ("METADATA",), "image4": ("IMAGE",), @@ -119,7 +118,7 @@ class MetadataOverlayNode: animdiff=False, ipadpter=False, loras=False, - origonal_vid_optional=None, + original_vid_optional=None, image3=None, metadata3=None, image4=None, @@ -131,8 +130,8 @@ class MetadataOverlayNode: ): images_and_metadata = [] - if origonal_vid_optional is not None: - images_and_metadata.append((origonal_vid_optional, "Original Video")) + if original_vid_optional is not None: + images_and_metadata.append((original_vid_optional, "Original Video")) # Extend the list with other image and metadata pairs diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..5873a22 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Pillow \ No newline at end of file