Nodes Browser
ComfyDeploy: How Jigsaw Puzzle Effect Plugin works in ComfyUI?
What is Jigsaw Puzzle Effect Plugin?
The Jigsaw Puzzle Effect plugin provides a unique puzzle effect for image processing. By dividing an image into multiple puzzle pieces and optionally adding missing pieces, users can easily create artistic puzzle effects.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
Jigsaw Puzzle Effect Plugin
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Jigsaw Puzzle Effect Plugin
Overview
The Jigsaw Puzzle Effect plugin provides a unique puzzle effect for image processing. By dividing an image into multiple puzzle pieces and optionally adding missing pieces, users can easily create artistic puzzle effects.
Features
- Puzzle Piece Size: Users can customize the size of the puzzle pieces, ranging from 20 to 200 pixels.
- Missing Puzzle Pieces: Users can choose the number of missing puzzle pieces, up to 20.
- Border Opacity: Users can adjust the opacity of the puzzle piece borders.
- Emboss Effect: Users can add shadows and highlights to the puzzle pieces.
Usage
-
Install Dependencies: Ensure the following libraries are installed:
numpy
Pillow
torch
-
Import the Plugin: Import the
JigsawPuzzleEffect
andRegionBoundaryEffect
classes into your project. -
Apply the Effect: Use the
apply_effect
method to generate an image with the puzzle effect.