Overview
By default, the canvas color is black with no alpha (transparent) and that area is not rendered. The DoD can however sit within the raster, for example when compositing images smaller than the raster or with transforms. Some nodes also change the canvas color: inverting a mask changes its canvas from black to white. The Set Canvas Color lets you give the canvas whatever color you need.
Where to find this node
- Effects Library:
Tools > Color > Set Canvas Color - Quick add: right-click in the Node Editor →
Add Tool > Color > Set Canvas Color
Inputs
- Input (orange) - the only required connection. A 2D image that reveals the canvas color if its DoD is smaller than the raster.
- Foreground (green) - optional. The canvas color is then sampled from the image connected to this input.
Setup
MediaIn → Transform (shrunk image) → Set Canvas Color
Controls tab
- Color Picker
- the Color and Alpha value of the canvas. Defaults to black with zero alpha. When the green Foreground input is connected, the tab is empty.
Use cases
- Color the empty space around an image shrunk with a Transform.
- Change the color outside the DoD of a circular gradient: attach the Set Canvas Color after the background and change the color.
Tips
- To read the canvas color, position the mouse pointer in a black area outside the raster: the RGB value appears in the status bar at the bottom left of the Fusion window.
