裁剪影像

对輸入的影像或媒體資料执行“裁剪影像”。

輸入: 圖片檔案(開啟檔案)結果: 圖片預覽與下載

或將圖片拖到這裡

文本輸入

執行後查看結果

更多選項

範例

Take the top-left 16 by 16 pixels; cropping keeps original pixels rather than resizing the whole image.

A checkerboard exposes flipped or softened edges

輸入

A checkerboard exposes flipped or softened edges — original image

結果

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X 坐標
0
Y 坐標
0
寬度
16
高度
16
自动裁剪
Off
自动裁剪容差(%)
0.02
僅自动裁剪帧
On
对称自动裁剪
Off
自动裁剪保留邊框(像素)
0
A portrait frame shows cropping and padding

輸入

A portrait frame shows cropping and padding — original image

結果

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X 坐標
0
Y 坐標
0
寬度
16
高度
16
自动裁剪
Off
自动裁剪容差(%)
0.02
僅自动裁剪帧
On
对称自动裁剪
Off
自动裁剪保留邊框(像素)
0
An RGB landscape separates the colour channels

輸入

An RGB landscape separates the colour channels — original image

結果

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X 坐標
0
Y 坐標
0
寬度
16
高度
16
自动裁剪
Off
自动裁剪容差(%)
0.02
僅自动裁剪帧
On
对称自动裁剪
Off
自动裁剪保留邊框(像素)
0
A translucent badge tests alpha preservation

輸入

A translucent badge tests alpha preservation — original image

結果

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X 坐標
0
Y 坐標
0
寬度
16
高度
16
自动裁剪
Off
自动裁剪容差(%)
0.02
僅自动裁剪帧
On
对称自动裁剪
Off
自动裁剪保留邊框(像素)
0
A pixel-art cross makes rotation visible

輸入

A pixel-art cross makes rotation visible — original image

結果

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X 坐標
0
Y 坐標
0
寬度
16
高度
16
自动裁剪
Off
自动裁剪容差(%)
0.02
僅自动裁剪帧
On
对称自动裁剪
Off
自动裁剪保留邊框(像素)
0

相关工具

多媒體

操作参考

查看原始技术文檔 (English)