Image Resize
This function block is designed to change the dimensions of images according to specified width and height values. It offers different interpolation methods to maintain image quality during resizing.
📥 Inputs
Image Any
The input image that you wish to resize.
Width
The target width for the resized image. If not specified, the original width will be used.
Height
The target height for the resized image. If not specified, the original height will be used.
📤 Outputs
Image Any
The resized output image with the specified dimensions.
🕹️ Controls
Interpolation Method
A dropdown menu that allows you to choose the method used for resizing the image. Options include:
INTER_NEAREST
INTER_LINEAR
INTER_AREA
INTER_CUBIC
INTER_LANCZOS4
🎨 Features
Flexible Dimension Adjustment
The block allows users to specify new width and height values as needed, or simply use the original dimensions.
Various Interpolation Options
Choose from different interpolation methods to ensure the quality of the resized image, depending on your requirements.
📝 Usage Instructions
Input Image: Connect an image to the
Image Any
input.Set Dimensions: Optionally, specify a width and height using the respective inputs. If left empty, the original image dimensions will be retained.
Choose Interpolation Method: Select the desired interpolation method from the dropdown.
Resize Image: Upon evaluation, the image will be resized according to the specified parameters.
📊 Evaluation
When executed, this function block will resize the input image based on the specified width and height and return the resized image.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated