updated the readme.md for explaining editor features.

This commit is contained in:
bruefire
2024-06-09 00:48:37 +09:00
parent 5dfb693749
commit ee1ca23bd4
5 changed files with 24 additions and 8 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

+10 -6
View File
@@ -574,13 +574,17 @@ class MaskEditorDialog extends ComfyDialog {
self.moveToPrev();
} else if (event.key == 'ArrowRight') {
self.moveToNext();
}
// else if (event.altKey && (event.key == 'z' || event.key == 'Z')) {
// event.preventDefault();
// event.stopPropagation();
} else if (event.altKey && event.shiftKey && (event.key == 'z' || event.key == 'Z')) {
event.preventDefault();
event.stopPropagation();
self.unstackAfterCanvas();
} else if (event.altKey && (event.key == 'z' || event.key == 'Z')) {
event.preventDefault();
event.stopPropagation();
self.unstackBeforeCanvas();
// self.unstackBeforeCanvas();
// }
}
self.updateBrushPreview(self);
}
+2 -2
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-seqimageloader"
description = "This is an extension node for ComfyUI that allows you to load frames from a video in bulk and perform masking and sketching on each frame through a GUI."
version = "1.0.0"
version = "1.0.1"
license = "LICENSE"
[project.urls]
@@ -11,4 +11,4 @@ Repository = "https://github.com/bruefire/ComfyUI-SeqImageLoader"
[tool.comfy]
PublisherId = "bruefire"
DisplayName = "ComfyUI-SeqImageLoader"
Icon = ""
Icon = "docs/icon.png"
+12
View File
@@ -31,6 +31,18 @@ Otherwise, it is the same as the SequentialImageLoader Node.
1. After loading the frames, right-click the node and select "Open In MaskEditor".
2. In the editor that appears, perform masking and sketching as needed. It is based on the standard Mask Editor.
### Editor Features
![image](docs/editor_features.png)
1. Switch between automatic masking (magic wand) and manual masking.
2. Switch between masking and sketching.
3. Canvas. Right-click to mask, left-click to unmask.
4. Change edit frame.
5. Clear mask on the current frame.
6. Paste the mask from the previous frame to the current frame.
7. Change the thickness of the masking.
8. Undo/Redo operations. Shortcut keys are alt+Z/shift+alt+Z. ( **not Ctrl+Z!** That's the standard shortcuts for ComfyUI. It might cause unexpected behavior.)
9. Save or cancel the results.
## Example With AnimateDiff
![iamge](docs/dogcat.gif)