Commit Graph
57 Commits
Author SHA1 Message Date
Luis Quesada 2d8a7df4eb New node: Resize Image Before Inpainting 2024-06-10 21:59:29 +02:00
Luis Quesada 741129e089 Fix issue with very wide or tall images 2024-06-10 07:08:49 +02:00
Luis Quesada 201ddd3ad5 Update README.md with new tutorial 2024-06-09 22:31:36 +02:00
Luis Quesada d11ecf5a20 Fix rounding error during sizing in some cases, ranged and forced size 2024-06-09 13:18:12 +02:00
Luis Quesada ac0d2ed056 Removed stray codepath 2024-06-09 09:52:48 +02:00
Luis Quesada 8368a3c7df Add assert on forced size if input is a batch of images 2024-06-09 09:41:26 +02:00
Luis Quesada 245648ed9f Fixes in mask and context mask handling (especially empty/wrong masks) in Extender node 2024-06-08 22:57:57 +02:00
Luis Quesada 4c74e1ee5a Update README.md 2024-06-08 21:41:38 +02:00
Luis Quesada dd523bda1b New node: Extend Image for Outpainting 2024-06-08 20:45:10 +02:00
Luis Quesada 3ff35d3b14 Small fix in README.md 2024-06-07 22:26:59 +02:00
Luis Quesada 07753443f8 Refactored masks and added new features: now supports blend and blur 2024-06-07 22:26:20 +02:00
Luis Quesada 89ceca9bc4 Fix corner case with forced size and greatly simplify code of forced size by making it a subcase of ranged size 2024-06-05 20:32:59 +02:00
Luis Quesada 3b8ece72ac Fix forced size stitching 2024-06-04 07:29:55 +02:00
Luis Quesada 8706aaa1a6 Fix rounding errors on free and ranged size 2024-06-02 08:50:03 +02:00
Luis Quesada b0ea51e03b Cleanup 2024-06-02 08:39:35 +02:00
Luis Quesada 18f7fabd7f Fix ranged until the final revamped code is ready 2024-06-02 08:05:19 +02:00
Luis Quesada f5df52f0e0 Prefer center area in actual image if possible rather than resorting to outpainting 2024-06-02 08:02:37 +02:00
Luis Quesada 7c229aa1b8 Correct date in README.md :) 2024-06-01 16:27:01 +02:00
Luis Quesada 4b8b192dea Update README.md 2024-06-01 13:39:15 +02:00
Luis Quesada f4538ecfee Update README.md 2024-06-01 13:37:39 +02:00
Luis Quesada a9d1e0486c Revamp whole calculation of context area: Use outpainting if needed to ensure forced size, add ranged size, split force size into force width and height 2024-06-01 13:34:26 +02:00
Luis Quesada 9c83800ce7 Update README.md 2024-05-26 22:22:40 +02:00
Luis Quesada 522a982176 Switch order of invert mask and fill mask holes so that when both are active the node works as expected 2024-05-25 19:47:20 +02:00
Luis Quesada cbae06958d Update README.md 2024-05-16 23:42:49 +02:00
Luis Quesada c743ae2fca Update README.md 2024-05-16 23:42:36 +02:00
Luis Quesada 732e67d75a Fix so that unneeded fields are also hidden on node creation 2024-05-16 18:21:25 +02:00
Luis Quesada dd346c3d58 Add assert on stitch size vs batch size 2024-05-15 22:04:47 +02:00
Luis Quesada 001b7412ce Update README.md 2024-05-15 21:44:37 +02:00
Luis Quesada 914bfd46d9 Auto-show/hide needed or unneeded fields 2024-05-15 21:42:10 +02:00
Luis Quesada 705be5ea77 Switch batch from array to proper batch processing, which is needed for e.g. animateDiff 2024-05-15 09:14:27 +02:00
Luis Quesada 0198351458 Add batch support 2024-05-14 22:52:50 +02:00
Luis Quesada cf42399c84 Update README.md 2024-05-14 22:36:08 +02:00
Luis Quesada dbded659a8 Sped up upscaling by enabling the selection of the rescale algorithm and switching crop default to bicubic 2024-05-14 17:57:16 +02:00
Luis Quesada d694780639 Update README.md 2024-05-13 22:52:07 +02:00
Luis Quesada 56dea8c8c6 Added a forced size mode to force scale to e.g. 1024 (Big revamp, breaking change with existing nodes) 2024-05-13 22:51:02 +02:00
Luis Quesada afd1784db6 Update README.md 2024-05-13 15:43:48 +02:00
Luis Quesada bd4fd9d6be Fix error if no mask is present 2024-05-13 15:19:39 +02:00
Luis Quesada 317891d12b Re-add padding now that it works 2024-05-13 15:16:20 +02:00
Luis Quesada 004ecd77dd Rollback padding for now, it's broken 2024-05-13 15:07:23 +02:00
Luis Quesada 9749773f25 Move upscale right before cropping for consistency with mask grow/blur/etc sizes 2024-05-13 14:24:08 +02:00
Luis Quesada bdcb6281c9 Center padding, remove prints 2024-05-13 10:16:31 +02:00
Luis Quesada dfb7f37155 Add internal padding parameter to avoid artifacts when the cropped image is not multiple of 8/16/32 2024-05-13 10:10:47 +02:00
Luis Quesada c4957772fb Fix fill_holes breaking mask at the borders 2024-05-13 09:10:41 +02:00
Luis Quesada 0f62cd0126 Remove unneeded files 2024-05-13 08:54:23 +02:00
Luis Quesada 2f3f59a8d1 Remove unneeded files 2024-05-13 08:53:55 +02:00
Luis Quesada b97a1d1834 Set fill_holes to True by default because it works really well 2024-05-13 08:43:59 +02:00
Luis Quesada 2b5acde886 Fix rounding issue with <1 rescaling 2024-05-13 08:43:30 +02:00
Luis Quesada 799d10e35b Enable rescaling down as well 2024-05-13 08:21:52 +02:00
Luis Quesada 6f48262f75 Update example workflows with values that work better 2024-05-12 21:21:32 +02:00
Luis Quesada cbbda3cd7d Update README.md 2024-05-12 15:11:02 +02:00