ComfyUI Node
QBB_PenTool
Pen tool editor: draw paths/shapes, selections, text, and brushes on a canvas; outputs composite image, mask, stroke layer, alpha image, and path JSON.
QBB_PenTool
- image
- image_2
- image_3
- image_4
- image_5
- image_6
- image_7
- image_8
- image_9
- image_10
- image_11
- image_12
- image_13
- image_14
- image_15
- image_16
- image
- mask
- stroke_image
- image_alpha
- path_json
◄path_data{"version":2,"canvas":{"width":1024,"height":1024,"backgroundColor":"#FFFFFF","backgroundFillMode":"none"},"styles":{"maskFeather":0},"strokePaths":[],"selectionPaths":[],"imageLayers":[]}►
CategoryQBB/ComfyUI_QBB_PenTool
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| path_data | STRING | {"version":2,"canvas":{"width":1024,"height":1024,"backgroundColor":"#FFFFFF","backgroundFillMode":"none"},"styles":{"maskFeather":0},"strokePaths":[],"selectionPaths":[],"imageLayers":[]} | Internal path data maintained by the Pen Editor (hidden in the node UI) |
| imageopt | IMAGE | Optional. Single or batch IMAGE; connecting one adds the next image slot. Multiple inputs merge into editor layers (or use one batch input). | |
| image_2opt | IMAGE | Optional image slot 2 (batch OK) | |
| image_3opt | IMAGE | Optional image slot 3 (batch OK) | |
| image_4opt | IMAGE | Optional image slot 4 (batch OK) | |
| image_5opt | IMAGE | Optional image slot 5 (batch OK) | |
| image_6opt | IMAGE | Optional image slot 6 (batch OK) | |
| image_7opt | IMAGE | Optional image slot 7 (batch OK) | |
| image_8opt | IMAGE | Optional image slot 8 (batch OK) | |
| image_9opt | IMAGE | Optional image slot 9 (batch OK) | |
| image_10opt | IMAGE | Optional image slot 10 (batch OK) | |
| image_11opt | IMAGE | Optional image slot 11 (batch OK) | |
| image_12opt | IMAGE | Optional image slot 12 (batch OK) | |
| image_13opt | IMAGE | Optional image slot 13 (batch OK) | |
| image_14opt | IMAGE | Optional image slot 14 (batch OK) | |
| image_15opt | IMAGE | Optional image slot 15 (batch OK) | |
| image_16opt | IMAGE | Optional image slot 16 (batch OK) |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| stroke_image | IMAGE | — |
| image_alpha | IMAGE | — |
| path_json | STRING | — |