diff --git a/nodes/FL_VertexGemini25FlashImage.py b/nodes/FL_VertexGemini25FlashImage.py index 557754c..58acbeb 100644 --- a/nodes/FL_VertexGemini25FlashImage.py +++ b/nodes/FL_VertexGemini25FlashImage.py @@ -261,6 +261,14 @@ class FL_VertexGemini25FlashImage: image_data = part.inline_data.data self._log(f"Batch {batch_idx + 1} - inline_data size: {len(image_data)} bytes") + # Check mime type if available + if hasattr(part.inline_data, 'mime_type'): + self._log(f"Batch {batch_idx + 1} - inline_data mime_type: {part.inline_data.mime_type}") + + # Check image header to identify format + image_header = image_data[:16] if len(image_data) >= 16 else image_data + self._log(f"Batch {batch_idx + 1} - image header (hex): {image_header.hex()}") + pil_image = Image.open(io.BytesIO(image_data)) self._log(f"Batch {batch_idx + 1} image received: {pil_image.width}x{pil_image.height}") diff --git a/pyproject.toml b/pyproject.toml index 24ed9b7..8c4ee74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_fill-nodes" description = "Fill-Nodes is a versatile collection of custom nodes for ComfyUI that extends functionality across multiple domains. Features include advanced image processing (pixelation, slicing, masking), visual effects generation (glitch, halftone, pixel art), comprehensive file handling (PDF creation/extraction, Google Drive integration), AI model interfaces (GPT, DALL-E, Hugging Face), utility nodes for workflow enhancement, and specialized tools for video processing, captioning, and batch operations. The pack provides both practical workflow solutions and creative tools within a unified node collection." -version = "1.8.4" +version = "1.8.5" license = "LICENSE" dependencies = ["diffusers", "librosa", "sounddevice", "glitch_this", "PyOpenGL", "glfw", "scipy>=1.13.1", "requests", "aiohttp", "moviepy", "matplotlib", "reportlab", "openai", "PyPDF2", "pdf2image", "PyMuPDF", "reportlab", "PyPDF2", "ollama", "kornia", "opencv-python", "gdown", "open_clip_torch", "google-genai"]