{"id":44035538,"url":"https://github.com/MushroomFleet/ComfyUI-DJZ-Offsquare","last_synced_at":"2026-02-19T16:01:08.274Z","repository":{"id":336519835,"uuid":"1148494093","full_name":"MushroomFleet/ComfyUI-DJZ-Offsquare","owner":"MushroomFleet","description":"batched collage composition using Offsquare, ComfyUI Custom Nodes | https://www.scuffedepoch.com | https://www.oragenai.com","archived":false,"fork":false,"pushed_at":"2026-02-04T20:14:22.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-05T08:27:46.845Z","etag":null,"topics":["collage","comfyui","custom","node","offsquare"],"latest_commit_sha":null,"homepage":"http://www.scuffedepoch.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MushroomFleet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T03:01:13.000Z","updated_at":"2026-02-04T20:14:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MushroomFleet/ComfyUI-DJZ-Offsquare","commit_stats":null,"previous_names":["mushroomfleet/comfyui-djz-offsquare"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MushroomFleet/ComfyUI-DJZ-Offsquare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MushroomFleet%2FComfyUI-DJZ-Offsquare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MushroomFleet%2FComfyUI-DJZ-Offsquare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MushroomFleet%2FComfyUI-DJZ-Offsquare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MushroomFleet%2FComfyUI-DJZ-Offsquare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MushroomFleet","download_url":"https://codeload.github.com/MushroomFleet/ComfyUI-DJZ-Offsquare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MushroomFleet%2FComfyUI-DJZ-Offsquare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29621885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collage","comfyui","custom","node","offsquare"],"created_at":"2026-02-07T20:00:19.824Z","updated_at":"2026-02-19T16:01:08.268Z","avatar_url":"https://github.com/MushroomFleet.png","language":"Python","funding_links":["https://ko-fi.com/driftjohnson"],"categories":["Workflows pushed today"],"sub_categories":[],"readme":"# ComfyUI-DJZ-Offsquare\n\nA ComfyUI custom node that creates optimized image collages from batches of 2-6 images with intelligent layout selection and aspect ratio control.\n\n## Features\n\n- **Multiple Layout Strategies** — 3 layouts per image count (2-6 images)\n- **Aspect Ratio Selection** — 1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4\n- **Consistent Output Size** — Maintains ~4 megapixels (same as 2048×2048)\n- **Smart Image Placement** — First image → top-left, Last image → bottom-right with spill effect\n- **Aspect-Ratio Aware** — Matches images to regions for minimal clipping\n- **Auto Layout** — Automatically selects best layout based on image dimensions\n\n## Installation\n\n### Option 1: Git Clone (Recommended)\n\n1. Navigate to your ComfyUI custom nodes folder:\n   ```bash\n   cd ComfyUI/custom_nodes/\n   ```\n\n2. Clone the repository:\n   ```bash\n   git clone https://github.com/MushroomFleet/ComfyUI-DJZ-Offsquare.git\n   ```\n\n3. Restart ComfyUI\n\n### Option 2: Manual Installation\n\n1. Download the repository as a ZIP file\n2. Extract to `ComfyUI/custom_nodes/ComfyUI-DJZ-Offsquare/`\n3. Restart ComfyUI\n\nThe node will appear under: **image/compositing → DJZ Offsquare Collage**\n\n## Inputs\n\n| Input | Type | Description |\n|-------|------|-------------|\n| `images` | IMAGE | Batch of 2-6 images |\n| `aspect_ratio` | Dropdown | Output aspect ratio (default: 1:1) |\n| `border_radius` | INT (0-64) | Corner radius for image regions |\n| `background_color` | STRING | Hex color for canvas background |\n\n## Outputs\n\n| Output | Type | Description |\n|--------|------|-------------|\n| `image` | IMAGE | The generated collage |\n| `layout_info` | STRING | Layout details (type, dimensions, etc.) |\n\n## Automatic Layout Selection\n\nThe node automatically selects the best layout based on your images' aspect ratios. Available layouts per image count:\n\n| Images | Available Layouts |\n|--------|-------------------|\n| 2 | diagonal, vsplit, hsplit |\n| 3 | cascade, l-shape, reverse-l |\n| 4 | grid, dominant-three, t-layout |\n| 5 | quincunx, asymmetric, l-shape |\n| 6 | grid-2x3, grid-3x2, feature-corner |\n\n## Aspect Ratios \u0026 Dimensions\n\nAll ratios maintain ~4,194,304 total pixels:\n\n| Ratio | Dimensions | Use Case |\n|-------|------------|----------|\n| 1:1 | 2048 × 2048 | Square |\n| 16:9 | 2731 × 1536 | Widescreen |\n| 9:16 | 1536 × 2731 | Vertical/Mobile |\n| 3:2 | 2509 × 1672 | Classic Photo |\n| 2:3 | 1672 × 2509 | Portrait Photo |\n| 4:3 | 2365 × 1774 | Standard |\n| 3:4 | 1774 × 2365 | Portrait Standard |\n\n## Usage Tips\n\n1. **Image Order Matters** — First image in batch goes to top-left (background), last image goes to bottom-right (foreground with spill)\n\n2. **Batch Creation** — Use a \"Batch Images\" node to combine individual images before connecting to this node\n\n3. **Chain with Save** — Connect output directly to \"Save Image\" node for export\n\n## Example Workflow\n\n```\n[Load Image 1] ─┐\n[Load Image 2] ─┼─► [Batch Images] ─► [DJZ Offsquare] ─► [Save Image]\n[Load Image 3] ─┤\n[Load Image 4] ─┘\n```\n\n## Requirements\n\n- ComfyUI (latest version recommended)\n- Python 3.8+\n- PIL/Pillow\n- PyTorch\n- NumPy\n\n## License\n\nMIT License\n\n## Citation\n\n```bibtex\n@software{djz_offsquare,\n  title = {DJZ-Offsquare: Intelligent Image Collage Component},\n  author = {Drift Johnson},\n  year = {2025},\n  url = {https://github.com/MushroomFleet/ComfyUI-DJZ-Offsquare},\n  version = {1.0.0}\n}\n```\n\n## Support\n\n[![Ko-Fi](https://cdn.ko-fi.com/cdn/kofi3.png?v=3)](https://ko-fi.com/driftjohnson)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMushroomFleet%2FComfyUI-DJZ-Offsquare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMushroomFleet%2FComfyUI-DJZ-Offsquare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMushroomFleet%2FComfyUI-DJZ-Offsquare/lists"}