Fit to Canvas
Fit image to target canvas size with various modes
intermediate
Since P00
Input Ports
Image
Input image
Output Ports
Image
Image output from Fit to Canvas.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Width | Int | 32 | Controls the width setting for Fit to Canvas. |
| Height | Int | 32 | Controls the height setting for Fit to Canvas. |
| Parameter | Enum | Contain | Controls the parameter setting for Fit to Canvas. |
| Parameter | Enum | Center | Controls the parameter setting for Fit to Canvas. |
| Parameter | Enum | NearestNeighbor | Controls the parameter setting for Fit to Canvas. |
Overview
Fit image to target canvas size with various modes
Inputs and Outputs
Input Ports
- Image
Image: Input image
Output Ports
- Image
Image: Image output from Fit to Canvas.
Key Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Width | Int | 32 | Controls the width setting for Fit to Canvas. |
| Height | Int | 32 | Controls the height setting for Fit to Canvas. |
| Parameter | Enum | Contain | Controls the parameter setting for Fit to Canvas. |
| Parameter | Enum | Center | Controls the parameter setting for Fit to Canvas. |
| Parameter | Enum | NearestNeighbor | Controls the parameter setting for Fit to Canvas. |
When to Use
Use Fit to Canvas when you need this operation to remain explicit, reusable, and easy to tune inside a PixPipeline node graph.
Notes
Connect compatible data types and preview the result while tuning this node. Parameter names and port names follow the PixPipeline UI.