Qurak

ImagePad

可用

Pads an image on each side.

ImagePad[image, m]
ImagePad[image, m, padding]
ImagePad[image, {{left, right}, {bottom, top}}, …]
ImagePad[image, {{left, right}, {front, back}, {bottom, top}}, …]
ImagePad[video, …]
ImageData[ImagePad[Image[{{0.5}}], 1]] → {{0., 0., 0.}, {0., 0.5, 0.}, {0., 0., 0.}}ImageDimensions[ImagePad[Image[{{0.1, 0.2}, {0.3, 0.4}}], {{1, 0}, {0, 2}}]] → {3, 4}Round[ImageData[ImagePad[Image[{{0.2, 0.4}}], 1, "Fixed"]], 0.001] → {{0.2, 0.2, 0.4, 0.4}, {0.2, 0.2, 0.4, 0.4}, {0.2, 0.2, 0.4, 0.4}}

主題

相關

全部 6300 個函式 · 從 MCP 用戶端使用這個