Back to Node List

Canvas Resize

canvas_resize

Resize the canvas without scaling the image content

Draft
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
画像
input
Image
Required
入力画像

Output Ports

NameTypeDescription
画像
output
Image
リサイズ後のキャンバス

Parameters

NameTypeDefaultRangeDescription / Options
width
Int
641–8192

新しいキャンバスの幅

高さ
height
Int
641–8192

新しいキャンバスの高さ

アンカー
anchor
Enum
Center

元画像の配置位置

  • 左上Top-Left
  • 上中央Top-Center
  • 右上Top-Right
  • 左中央Center-Left
  • 中央Center
  • 右中央Center-Right
  • 左下Bottom-Left
  • 下中央Bottom-Center
  • 右下Bottom-Right

技術詳細

画像を拡大縮小するのではなく、キャンバスの枠を広げたり狭めたりします。広がった部分は透明になります。

Back to Node List
Canvas Resize — PixPipeline Node Reference