Size Mathematics

Perform calculations on Size values

utility 0 credits

Size Mathematics

Perform calculations on Size values

Overview

The Size Maths node performs mathematical operations on Size values. Add, subtract, multiply, or divide width and height by specified values. Essential for dynamic positioning and proportional sizing.

Usage Tips

  • Multiply by 0.5 to halve dimensions (for thumbnails)
  • Multiply by 2 to double dimensions
  • Use different X and Y values for non-uniform scaling
  • Chain with Image Attributes for dynamic calculations

Common Pairings

  • Image Attributes - Get input dimensions for calculations
  • Insert Into - Use calculated positions for placement
  • Resize Absolute - Apply calculated dimensions

Gotchas

  • Division by zero will cause errors
  • Operations: “Multiply”, “Divide”, “Add”, “Subtract”
  • Output is a Size value, not an image

Technical Reference

Inputs

NameTypeRequiredDescription
inputSizeYesInput size to transform

Outputs

NameTypeDescription
outputSizeCalculated size

Parameters

NameTypeDefaultDescription
params_typetextMultiplyOperation: Multiply, Divide, Add, Subtract
params_value_xnumber1X value for calculation
params_value_ynumber1Y value for calculation