RevealTheme logo

图片裁剪工具

按精确的像素坐标裁剪图片:完全在你的浏览器中运行。

如何使用本工具

  1. 1

    Click the file picker and choose an image (PNG, JPEG, WebP, GIF, or any format your browser can decode).

  2. 2

    Read the displayed source dimensions, then type the crop X/Y offset and W/H size in pixels into the four number fields.

  3. 3

    Click Crop to draw the selected region onto a canvas and preview the result.

  4. 4

    Click Download to save the cropped image as a PNG file.

什么是图片裁剪工具?

在你的浏览器中实现像素级精确裁剪。输入裁剪区域的X/Y偏移量以及以像素为单位的宽度/高度:当你需要为缩略图、头像或广告横幅设定精确尺寸时非常有用。

常见使用场景

  • Trim a screenshot down to a single UI panel by reading the pixel coordinates from a design tool and typing them in.

  • Produce a square avatar by setting equal W and H and centering the X/Y offset on a face.

  • Cut a fixed-size banner or ad slot (for example 728x90) from a larger source image.

  • Crop the same region from a batch of identically framed images using one set of remembered coordinates.

  • Remove an unwanted border or watermark strip by offsetting X/Y past it and shrinking W/H.

  • Extract a sprite or icon from a sprite sheet whose cell coordinates you already know.

常见问题

如果我的裁剪区域大于图片会怎样?
画布(canvas)会采用你指定的尺寸,但可用的源像素仅限于图片的边界范围之内。

相关工具