Commit Graph
487 Commits
Author SHA1 Message Date
Dariusz L c8b9e3ccc4 Add ordered multi-image input support via virtual transport links 2026-08-14 04:25:08 +02:00
Dariusz L a942228ef3 Use workflow-scoped canvas state keys and stabilize preview widget sizing 2026-08-13 22:45:27 +02:00
Dariusz L e9813d5016 Improve canvas image preview widget sizing and visibility handling 2026-08-13 22:19:13 +02:00
Dariusz L 37179fd29d Make LayerForge canvas and controls blend with ComfyUI dark theme
Use transparent canvas backgrounds, rgba styling, and CSS custom properties
(--lf-canvas-fill, --lf-surface-border, --lf-controls-surface,
--lf-layers-surface, --lf-surface-shadow) so the editor's native color tints
the node underneath. CanvasRenderer now clears the canvas each frame and
reads the fill from CSS, avoiding alpha buildup and keeping the UI readable.
2026-08-13 21:44:31 +02:00
Dariusz L c9df359ecd Refresh layer panel after matting replaces a layer object 2026-08-13 21:10:58 +02:00
Dariusz L 48cd6c0453 Merge branch 'main' of https://github.com/Azornes/Comfyui-LayerForge 2026-08-13 20:49:56 +02:00
Dariusz L 11d448cdc8 Add matting download progress, interrupt handling, and inverted mask mode 2026-08-13 20:47:10 +02:00
Dariusz L a830da7593 Store Matting settings server-side and support optional Hugging Face token 2026-08-13 18:20:52 +02:00
Dariusz L 91a16edde4 Update CanvasView.js 2026-08-13 18:00:05 +02:00
Dariusz L e4441dc832 feat: improve BRIA RMBG 2.0 transformers compatibility and error handling 2026-08-13 17:57:47 +02:00
Dariusz L 69931a15b4 refactor: split matting module into package and add BRIA RMBG 2.0 backend 2026-08-13 17:48:02 +02:00
Dariusz L 8cc87fb823 refactor: store BiRefNet checkpoints directly under background_removal 2026-08-13 16:58:09 +02:00
Dariusz L c80a1244f7 refactor: share mirror and canvas cloning logic 2026-08-13 15:59:40 +02:00
Dariusz L 486c43cd68 refactor: reuse image references during garbage collection 2026-08-13 15:55:27 +02:00
Dariusz L 03187ce8ed refactor: centralize fit-on-add policy 2026-08-13 15:52:47 +02:00
Dariusz L 23ad04b2de refactor: centralize canvas input identity 2026-08-13 15:48:25 +02:00
Dariusz L bb93970aec refactor: centralize preview blob loading 2026-08-13 15:46:02 +02:00
Dariusz L 11ba23d384 refactor: centralize matting status responses 2026-08-13 09:48:14 +02:00
Dariusz L bf81261e33 refactor: share error handling runner 2026-08-13 09:43:40 +02:00
Dariusz L f7304b1a0b refactor: reuse shared image loader 2026-08-13 09:39:58 +02:00
Dariusz L e4ef21a9b8 refactor: centralize canvas blob resolution 2026-08-13 09:34:02 +02:00
Dariusz L 962a4a6400 refactor: centralize layer removal lifecycle 2026-08-13 09:26:34 +02:00
Dariusz L be3234fbc6 refactor: centralize Canvas PNG blob conversion 2026-08-13 09:00:51 +02:00
Dariusz L 204eec2227 refactor: unify distance field cache operations 2026-08-13 08:57:40 +02:00
Dariusz L 0fcdc1e96a refactor: reuse shared image loading 2026-08-13 08:52:58 +02:00
Dariusz L 3d482f7303 refactor: share point bounds calculation 2026-08-13 08:47:24 +02:00
Dariusz L f3ea93c873 refactor: unify mask chunk area traversal 2026-08-13 08:44:31 +02:00
Dariusz L c1ec26644d refactor: share mask result application 2026-08-13 08:20:35 +02:00
Dariusz L 5b90135533 refactor: share IndexedDB transaction execution 2026-08-13 08:16:48 +02:00
Dariusz L 38886f346d refactor: share image upload request construction 2026-08-13 08:12:08 +02:00
Dariusz L d68ee89f35 refactor: share preview blob loading 2026-08-13 08:09:04 +02:00
Dariusz L 459df09a70 refactor: unify canvas blob upload preparation 2026-08-13 08:06:43 +02:00
Dariusz L 7083ab59d4 refactor: reuse shared variants and database requests 2026-08-13 07:42:37 +02:00
Dariusz L 1dd3fe42c0 refactor: share batch and mask editor helpers 2026-08-13 07:39:03 +02:00
Dariusz L 64240a678e refactor: centralize Blob image loading 2026-08-13 07:33:29 +02:00
Dariusz L b509482eb1 refactor: share canvas output rendering primitives 2026-08-13 07:24:29 +02:00
Dariusz L ec313f1ce6 refactor: unify image cache contract 2026-08-13 07:18:12 +02:00
Dariusz L c461da1481 refactor: share distance-field mask rasterization 2026-08-13 05:43:15 +02:00
Dariusz L 212d6b7728 refactor: share backend image serialization helpers 2026-08-13 05:39:24 +02:00
Dariusz L f60b7c0d8d refactor: centralize mask pixel primitives 2026-08-13 05:33:47 +02:00
Dariusz L 42c4de43e4 refactor: reuse canonical layer point transforms 2026-08-13 05:28:16 +02:00
Dariusz L 58ae68b8e1 refactor: centralize canvas blob variant dispatch 2026-08-13 05:24:43 +02:00
Dariusz L 1aaae6e454 refactor: use canonical Point type 2026-08-13 04:47:20 +02:00
Dariusz L 76222a805b refactor: centralize strict canvas context creation 2026-08-13 04:44:59 +02:00
Dariusz L 082e8b74f1 refactor: share matting model status checks 2026-08-13 04:41:24 +02:00
Dariusz L 18445387e4 refactor: share CanvasIO tensor image conversion 2026-08-13 04:37:15 +02:00
Dariusz L b7785b6bc3 refactor: share mask result conversion 2026-08-13 04:32:30 +02:00
Dariusz L 4bed57afcd refactor: share mask pixel processing pipeline 2026-08-13 04:29:47 +02:00
Dariusz L 66faa3135a refactor: centralize image loading and serialization 2026-08-13 04:26:51 +02:00
Dariusz L 5f660629ec refactor: centralize layer geometry calculations 2026-08-13 04:18:43 +02:00