Scale
compositing node
Changes the resolution of the image.
This operation changes the resolution of the image. The contents of the image are scaled appropriately. The aspect ratio may be optionally preserved.
Scale does not affect the cook resolution of its Inputs.
As Scale affects the resolution of the image sequence, its parameters cannot be animated (if animation is desired, use a Transform COP’s scale parameter).
Parameters
|
Scale |
Specifies the scaling method:
|
||||||||||||
|
Image Size |
Specify the size the image should be scaled to (in Pixels). |
||||||||||||
|
Image Fraction |
Specify the size you d like to scale the image as a fraction (e.g. 0.5 = 50%). |
||||||||||||
|
Pixel Aspect |
Pixel Aspect is the ratio of the width to the height. Specify the pixel aspect ratio to scale the image by here. |
||||||||||||
|
Preserve Aspect Ratio |
When enabled, it preserves the ratio of the image width to height when scaling. |
||||||||||||
|
Image Filter |
Specifies the type of filter to use when scaling. The Box filter is the fastest; for almost all uses, the Gaussian is the best choice; use Catmull when you need some-thing a bit sharper than Gaussian. |
Local variables
|
L |
Sequence length |
|
S |
Start of sequence |
|
E |
End of sequence |
|
IL |
Input sequence length |
|
SR |
Sequence frame rate |
|
NP |
Number of planes in sequence |
|
W,H |
Width and height of image |
|
I |
Image index (0 at start frame) |
|
IT |
Image time (0 at start frame) |
|
AI |
Current plane array index |
|
PI |
Current plane index |
|
PC |
Num of channels in current plane |
|
CXRES |
Composite Project X resolution |
|
CYRES |
Composite Project Y resolution |
|
CPIXA |
Composite Project pixel aspect ratio |
|
CDEPTH |
Composite Project raster depth |
|
CBP |
Composite Project black point |
|
CWP |
Composite Project white point |
Usages in other examples
| Example name | Example for | |
|---|---|---|
| TextureTiling |
Tile compositing node |