🔍

首页Home › 图片工具Image Tools

👤 图片剪影生成(把主体变成纯色轮廓)Create Silhouette from Image

把图片中的人物、动物或物体变成纯色剪影:自动识别透明背景或纯色背景(只去除与边缘相连的背景,主体内部同色区域不会被挖空),也可按亮度把深色部分当作主体;可选剪影颜色、透明 / 白色 / 自定义背景,以及反转(背景变剪影)。支持批量,适合做 Logo、贴纸、图标和剪纸风海报,图片只在浏览器本地处理。Turn the person, animal or object in a picture into a solid silhouette. The tool detects a transparent or plain-colour background automatically and removes only the background connected to the edges, so same-coloured areas inside the subject are not punched out. You can also treat dark areas as the subject. Choose the silhouette colour, a transparent, white or custom background, and invert to make the background the silhouette. Works in bulk; great for logos, stickers, icons and cut-paper posters. Images are processed locally in your browser.

点击选择或拖放图片(可多选)Click or drop images here (multiple allowed)

使用说明与常见问题How-to & FAQ

「图片剪影生成(把主体变成纯色轮廓)」是什么?What is the Create Silhouette from Image tool?

把图片中的人物、动物或物体变成纯色剪影:自动识别透明背景或纯色背景(只去除与边缘相连的背景,主体内部同色区域不会被挖空),也可按亮度把深色部分当作主体;可选剪影颜色、透明 / 白色 / 自定义背景,以及反转(背景变剪影)。支持批量,适合做 Logo、贴纸、图标和剪纸风海报,图片只在浏览器本地处理。Turn the person, animal or object in a picture into a solid silhouette. The tool detects a transparent or plain-colour background automatically and removes only the background connected to the edges, so same-coloured areas inside the subject are not punched out. You can also treat dark areas as the subject. Choose the silhouette colour, a transparent, white or custom background, and invert to make the background the silhouette. Works in bulk; great for logos, stickers, icons and cut-paper posters. Images are processed locally in your browser.

如何使用「图片剪影生成(把主体变成纯色轮廓)」?How do I use the Create Silhouette from Image tool?

在「图片剪影生成(把主体变成纯色轮廓)」中,选择或拖入文件,按需设置「识别方式」、「背景容差」、「亮度阈值」、「剪影颜色」、「背景」等选项,然后点击每个结果旁的「下载」按钮即可;有多个文件时也可以点「全部下载(ZIP)」一次打包下载。In the Create Silhouette from Image: Choose or drop your files, set "Detect subject by", "Background tolerance", "Brightness threshold", "Silhouette colour", "Background", then click the Download button next to each result (with several files, "Download all (ZIP)" saves them together).

怎么识别哪部分是主体?How does it decide what the subject is?

“自动”模式下,如果图片四周大部分是透明的(例如抠好图的 PNG),就按透明度生成剪影;否则取图片边缘像素的中位色作为背景色,从四条边向内“漫水”去除与它相近且相连的区域,剩下的就是主体。也可以手动选择“深色部分为主体”,适合白底上的深色线稿、手写字和黑白照片。In Auto mode, if most of the image's border is transparent (a cut-out PNG, for example), the silhouette follows the transparency. Otherwise the median colour of the edge pixels is taken as the background, and similar connected areas are flooded away from all four edges; what remains is the subject. You can also choose Dark areas are the subject, which suits dark line art, handwriting and black-and-white photos on white.

主体里有和背景一样的颜色会被挖空吗?Will parts of the subject that match the background be punched out?

默认不会:勾选“只去除与边缘相连的背景”时,只有从图片边缘连过来的背景色区域被去除,主体内部的同色区域(如白底上人物的白衬衫、眼白)会保留在剪影里。只有当它们和外部背景连在一起时才会被去掉;这时可以降低容差。取消勾选则所有接近背景色的像素都会被去除。Not by default. With Only background touching the edges ticked, only background-coloured areas connected to the image border are removed, so matching areas inside the subject (a white shirt or the whites of the eyes on a white backdrop) stay part of the silhouette. They're only removed if they join up with the outside background; lowering the tolerance helps then. Untick it to remove every pixel close to the background colour.

容差怎么调?边缘会有锯齿吗?How do I set the tolerance? Are edges jagged?

容差表示和背景色相差多少以内算背景:背景有渐变、阴影或 JPG 噪点时调高,主体颜色接近背景时调低。超出容差一点点的像素会按差距生成半透明过渡,所以边缘是平滑的;透明背景模式直接沿用原图的透明度,抗锯齿边缘也会保留。The tolerance is how far from the background colour a pixel can be and still count as background. Raise it for backgrounds with gradients, shadows or JPG noise; lower it when the subject's colours are close to the background. Pixels just beyond the tolerance get a partial-transparency blend, so edges stay smooth. In transparency mode the original alpha is used directly, so anti-aliased edges are kept too.

有哪些选项可以调整?What options can I adjust?

「图片剪影生成(把主体变成纯色轮廓)」的设置:「识别方式」可选 自动、去除背景色、按透明度(透明背景图)、深色部分为主体(默认 自动);「背景容差」默认 12,范围 1–80;「亮度阈值」默认 128,范围 1–254;「剪影颜色」默认 #000000;「背景」可选 透明、白色、自定义(默认 透明);「背景色」默认 #ffd54f;「输出格式」可选 PNG、JPG、WebP(默认 PNG);「质量」默认 92,范围 40–100;可勾选:「只去除与边缘相连的背景」(默认勾选)、「反转(背景变剪影)」;可选文件:常见图片格式(含 HEIC、HEIF、AVIF、WEBP、BMP、JFIF)。改动任一选项后结果会按新设置重新生成。Settings in the Create Silhouette from Image — "Detect subject by": Auto, Remove background colour, By transparency, Dark areas are the subject (default Auto); "Background tolerance" default 12, range 1–80; "Brightness threshold" default 128, range 1–254; "Silhouette colour" default #000000; "Background": Transparent, White, Custom (default Transparent); "Background colour" default #ffd54f; "Format": PNG, JPG, WebP (default PNG); "Quality" default 92, range 40–100; tick boxes: "Only background touching the edges"…

图片会被上传到服务器吗?Are my images uploaded?

不会。「图片剪影生成(把主体变成纯色轮廓)」使用浏览器 Canvas 在本地处理图片,处理后的文件直接从你的浏览器下载。No. The Create Silhouette from Image processes images locally with the browser Canvas API and the result downloads straight from your browser.

「图片剪影生成(把主体变成纯色轮廓)」免费吗?需要注册吗?Is the Create Silhouette from Image free? Do I need an account?

「图片剪影生成(把主体变成纯色轮廓)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Create Silhouette from Image is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🌀 图片扭曲(漩涡 / 旋转扭曲效果)Twist Image Pixels (Swirl Effect)📶 像素排序(Pixel Sorting 故障艺术)Sort Pixels in Image (Pixel Sorting Glitch Art)🧩 打乱图片像素(随机混淆,可用种子还原)Mix Pixels in Image (Scramble & Unscramble)🧮 查看图片字节(十六进制 Hex 查看器)Print Image Bytes (Hex Viewer)🧱 字节转图片(Hex / Base64 / 原始像素还原图片)Create Image from Bytes (Hex, Base64, Raw Pixels)🔣 图片转 RGB 数值(导出每个像素的颜色值)Convert Image to RGB Values🖌️ RGB 数值转图片(把颜色值画成像素图)Convert RGB Values to Image👾 文字转像素字(像素风文字图片)Convert Text to Pixel Art🟥 颜色可视化(色值列表生成色卡)Visualize Colors (Colour List to Swatches)🌫️ 位图模糊(BMP 高斯模糊 / 方框模糊)Blur a Bitmap (Gaussian & Box Blur)🎨 位图换色(替换 BMP 中的指定颜色)Change Bitmap Colours (Replace a Colour in a BMP)🔁 BGR 位图转 RGB(修正红蓝颠倒的 BMP)Convert BGR Bitmap to RGB Bitmap

← 全部工具All tools