Canvas Resize

Resize the canvas without scaling the image content

intermediate
Since P00

Input Ports

Image

入力画像

Image

Output Ports

Image

リサイズ後の画像

Image

Parameters

NameTypeDefaultDescription
WidthInt64新しいキャンバス幅
HeightInt64新しいキャンバス高さ
AnchorTextCenter元画像の配置位置(TopLeft/Center等)

Technical Details

imageをScaleするのではなく、キャンバスの枠を広げたり狭めたりします。広がった部分は透明になります。

Canvas Resize — PixPipeline Node Reference