Reformat#
(ImageNodeReformat)
- Category:
Image
- Default object name:
reformat
Description#
Reformat image.
Attributes#
Name | Type | Description |
---|---|---|
Thumbnail | bool |
Enable/Disable the display of the node thumbnail in the Build View. |
Thumbnail Size | double |
Set the size of the thumbnail in the Build View. |
Caching | long |
Cache result of this node |
Clear Cache | action |
Clear the internal image cached by the node. If you clear the image cache, the node will request an evaluation when displayed by the Image View. |
Pass Through | bool |
Enable pass through. If enabled, the node returns the input specified as Master Input. |
Master Input | string |
Define which input should be returned by the node if Pass Through is enabled. |
A | reference (ImageNode ) |
Define the A image. |
Resolution Mode | long |
Defines the canvas size of the image. |
Resolution Preset | string |
Defines the canvas size of the image. |
Resolution | long[2] |
Defines the canvas size of the image. The canvas is the visible area of the image. |
Display Aspect Ratio | double |
Set the pixel aspect ratio of the image when displayed in the Image View. Please note that this is only a display setting. This doesn't modify the rendered pixel aspect ratio. |
Resize Type | long |
Width : Scale so that the input width fits the output width, while preserving the aspect ratio. Height : Scale so that the input height fits the output height, while preserving the aspect ratio. Fit : Scale so that the input smallest size fits the output width or height, while preserving the aspect ratio. Fill : Scale so that the input longest size fits the output width or height, while preserving the aspect ratio. Distort : Scale the input so that both sides fit the output dimensions. |
Center | bool |
If true, translate the center of the image to the center of the output. Note : It is not used if the resize type is set to Distort. |
Filter | long |
Specify the filter used to perform the reformat. Nearest Neighbor use original value, Box integrate the input image over the bounding box of the pixel, Bilinear Filtering and Bicubic Filtering process a linear and cubic interpolation respectively between original values. Please note that Bilinear and Bicubic filter do not apply an antialising filter after resizing the input image, thus as any interpolation filter, there are inappropriate when downscaling an image, in which case you should use a Box filter for better smoothing. |