-
Notifications
You must be signed in to change notification settings - Fork 97
Layout Nodes
RockOfFire edited this page Dec 29, 2023
·
19 revisions
This node can produce image grids as an output, or as an input to CR Page Layout.
It is also useful for organising multiple preview images in a workflow into a single strip of images.
Here are some example uses:
Demo Workflow
Supports batch processing ✅
Demo Workflow
Examples
Settings | Output | Settings | Output |
---|---|---|---|
font_outline_thickness = 50 font_outline_color = red
|
font_outline_thickness = 5 font_outline_color = white
|
Image overlayed at 45 degree angle
Spinning overlay image using Auto Queue
To autorun, tick Extra Options, set batch Count to 1, and tick Auto Queue then press Queue Prompt. To stop, untick Auto Queue.
Args:
back_image (torch.Tensor): Background image tensor.
overlay_image (torch.Tensor): Overlay image tensor.
transparency (float): Transparency level for the overlay image (0.0 to 1.0).
offset_x (int): X-coordinate relative to the center of the back image.
offset_y (int): Y-coordinate relative to the center of the back image.
rotation_angle (float): Rotation angle in degrees.
scale_factor (float): Scaling factor for the overlay image.
Returns:
torch.Tensor: Resulting image tensor.
Demo Workflow