Table of Contents ▸ List of Commands ▸ Geometry Manipulation ▸ rescale3d | ◀ rescale2d | resize ▶ |
rescale3d
Arguments:
- _width[%]={ 0:Any | >0 },_height[%]={ 0:Any | >0 },_depth[%]={ 0:Any | >0 },-1=<_interpolation<=6,_mode={ 0:Inside | 1:Padded-inside | 2:Outside | 3 or
- Cropped-outside }
Description:
Resize selected 3D images while preserving aspect ratio.interpolation can be { -1:Status only | 0:None | 1:Nearest | 2:Average | 3:Linear | 4=Grid | 5=Bicubic | 6=Lanczos }.
When interpolation==-1, image size is actually not modified, but the size that would have been used for the last selected image is returned in the status value.
Each resized image size is computed according to the specified mode:
If mode==0, image size is at most (width,height).
If mode==1 or mode==3, image size is exactly (width,height).
If mode==2, image size is at least (width,height).
(equivalent to shortcut command rs3d).
Default values:
width=height=depth=0, interpolation=2 and mode=0.