🖼️ 图片工具Image Tools (第 3 页)(page 3)
故障风图片生成器(Glitch 效果)Glitch Image Maker
给图片加上故障艺术(Glitch)效果:RGB 色彩分离、随机错位的横条、扫描线,以及真正破坏 JPG 数据产生的数据损坏花屏,可调强度,用随机种子重现同样的效果或一键换一组。适合做赛博朋克海报、蒸汽波头像和音乐封面,支持批量,图片只在浏览器本地处理。Give an image a glitch-art look: RGB channel split, randomly shifted horizontal slices, scan lines and genuine data-moshing from corrupting the JPG data. Adjust the intensity, reproduce the same result with a random seed or roll a new one. Great for cyberpunk posters, vaporwave avatars and album covers. Works in bulk, locally in your browser.
图片描边(贴纸白边 / 轮廓线)Add Stroke to Image (Outline)
沿着透明 PNG 中主体的形状加一圈描边:可设宽度、颜色,描在外侧(贴纸白边效果)或内侧,按真实距离计算,转角圆润、边缘抗锯齿;外描边会自动扩大画布,不会被裁掉。适合给抠图、Logo、表情包和贴纸加轮廓,支持批量,图片只在浏览器本地处理。Add a stroke that follows the shape of the subject in a transparent PNG. Set the width and colour and draw it outside (the classic sticker border) or inside. Distances are computed exactly, so corners are smoothly rounded and edges anti-aliased, and an outside stroke enlarges the canvas so nothing is cut off. Great for cut-outs, logos, emoji and stickers. Works in bulk, locally in your browser.
GIF 播放器(逐帧查看、变速、倒放)GIF Player (Frame by Frame, Speed, Reverse)
在浏览器里播放 GIF 动图并完全控制播放:暂停、逐帧前进后退、拖动进度条定位到任意一帧,0.25× 到 4× 变速,正放、倒放或来回播放,可关闭循环,放大查看像素细节;显示每帧延迟、当前时间和总时长,可把当前帧保存为 PNG。支持键盘空格和方向键,文件只在本地处理。Play a GIF in your browser with full control: pause, step forward and back frame by frame, drag the slider to any frame, change the speed from 0.25× to 4×, play forwards, backwards or back-and-forth, turn looping off and zoom in to see pixel detail. Each frame's delay, the current time and the total duration are shown, and the current frame can be saved as a PNG. Space and the arrow keys work too, and files stay on your device.
图片标注(箭头、方框、文字、编号、马赛克)Annotate Image (Arrows, Boxes, Text, Numbers, Blur)
在图片上直接做标注:箭头、方框、圆圈、直线、画笔、荧光笔、文字、①②③ 步骤编号和马赛克打码,可选颜色、粗细和字号,方框和圆圈可填充;支持撤销 / 重做(Ctrl+Z / Ctrl+Y),按原图分辨率导出 PNG 或 JPG。适合截图说明、教程步骤、问题反馈和隐私打码,图片只在浏览器本地处理。Mark up an image directly: arrows, boxes, circles, lines, pen, highlighter, text, numbered step markers and mosaic blur for hiding details. Choose the colour, thickness and font size, fill boxes and circles, undo and redo (Ctrl+Z / Ctrl+Y), and export at the original resolution as PNG or JPG. Great for annotated screenshots, tutorial steps, bug reports and hiding private details. Images are processed locally in your browser.
去除图片边框留白(自动裁掉纯色 / 透明边)Unpad Image (Trim Borders & Padding)
自动裁掉图片四周的留白:纯色边框(白边、黑边或任意颜色)或透明边距,只保留中间的内容;可设容差应对 JPG 压缩噪点,可保留指定像素的边距,显示每一边裁掉了多少像素。支持批量,图片只在浏览器本地处理。Automatically trim the padding around an image — a solid-colour border (white, black or any colour) or transparent margins — keeping only the content in the middle. A tolerance copes with JPG noise, you can keep a margin of your choice, and it shows how many pixels were removed on each side. Works in bulk, and images are processed locally in your browser.
图片倾斜变形(水平 / 垂直斜切)Skew Image (Horizontal & Vertical Shear)
把图片沿水平或垂直方向斜切变形(−60° 到 60°),做出平行四边形、斜体、透视感的效果;画布自动扩大以完整保留图片,空出的部分可设为透明或任意背景色。支持批量和 PNG / JPG / WebP 输出,图片只在浏览器本地处理。Skew (shear) an image horizontally or vertically from −60° to 60° for parallelogram, italic or faux-perspective effects. The canvas grows so the whole image is kept, and the empty corners can be transparent or any background colour. Works in bulk with PNG, JPG or WebP output, and images are processed locally in your browser.
图片平移(循环位移 / 偏移)Shift Image (Offset & Wrap Around)
把图片内容水平和垂直平移指定的像素或百分比:可循环回绕(移出一边的部分从另一边出现,类似 Photoshop 的“位移”滤镜,适合检查和制作无缝贴图),也可以不回绕、空出部分变透明。尺寸不变,逐像素精确,支持批量,图片只在浏览器本地处理。Shift an image horizontally and vertically by a number of pixels or a percentage. Wrap around so whatever leaves one edge reappears on the other (like Photoshop's Offset filter — great for checking and making seamless tiles), or leave the uncovered area transparent. The size stays the same, pixels are moved exactly, it works in bulk, and images are processed locally in your browser.
图片 RGB 通道重排(BGR / GBR 等互换)Reorder RGB Channels in an Image
交换或轮换图片的红、绿、蓝三个颜色通道:BGR(红蓝互换,修正 OpenCV 等程序导出的偏色图片)、RBG、GRB、GBR、BRG,也可以给每个输出通道单独指定来源或反相。逐像素精确,透明度保持不变,支持批量,图片只在浏览器本地处理。Swap or rotate the red, green and blue channels of an image — BGR (swap red and blue, which fixes colour-swapped images from OpenCV and similar programs), RBG, GRB, GBR or BRG — or choose the source of each output channel yourself, with optional inversion. Every pixel is moved exactly, transparency is kept, it works in bulk, and images are processed locally in your browser.
图片位深度转换(1 / 2 / 4 / 8 / 16 位 PNG)Convert Image Bit Depth (1, 2, 4, 8 or 16-bit PNG)
把图片转换成指定位深度的 PNG:1 位黑白、2 / 4 / 8 位灰度、1 / 2 / 4 / 8 位调色板彩色,或 24 / 32 位真彩色、48 / 64 位(每通道 16 位)。输出文件真正按所选位深度存储,可选 Floyd–Steinberg 抖动减少色带,颜色本来就不多的图片会无损保留。适合嵌入式屏幕、电子墨水屏、打印和减小文件体积,图片只在浏览器本地处理。Convert an image to a PNG with the bit depth you choose: 1-bit black and white, 2, 4 or 8-bit greyscale, 1, 2, 4 or 8-bit palette colour, 24 or 32-bit true colour, or 48 or 64-bit (16 bits per channel). The file is genuinely stored at that depth, optional Floyd–Steinberg dithering reduces banding, and images that already have few enough colours are kept losslessly. Handy for embedded displays, e-ink screens, printing and smaller files — images are processed locally in your browser.
图片复古配色(Game Boy / NES / C64 / PICO-8 调色板)Convert Image to Retro Colours (Game Boy, NES, C64, PICO-8)
把图片转换成经典电脑和游戏机的调色板:Game Boy 4 色绿屏、NES 红白机、Commodore 64、ZX Spectrum、EGA / CGA、PICO-8、Teletext 和 1 位黑白;可选 Bayer 网点或 Floyd–Steinberg 抖动,可把像素放大成复古的大颗粒。支持批量,图片只在浏览器本地处理。Convert an image to the palettes of classic computers and consoles — the 4-shade green Game Boy, NES, Commodore 64, ZX Spectrum, EGA/CGA, PICO-8, Teletext and 1-bit black and white — with optional Bayer or Floyd–Steinberg dithering and chunky enlarged pixels for that retro look. Works in bulk, and images are processed locally in your browser.
图片颜色通道分离(R / G / B / Alpha)Separate Image Colour Channels (R, G, B, Alpha)
把图片拆成红、绿、蓝和透明度(Alpha)通道:可以单独导出某个通道,也可以把所有通道并排放在一张图里对比;每个通道可显示为灰度(亮度 = 通道值)或保留本色。适合检查图片、制作贴图、查看蒙版和学习颜色原理,支持批量,图片只在浏览器本地处理。Split an image into its red, green, blue and alpha (transparency) channels. Export a single channel, or put all of them side by side in one image to compare. Each channel can be shown as greyscale (brightness = channel value) or in its own colour. Handy for inspecting images, making textures, checking masks and learning how colour works — works in bulk, and images are processed locally in your browser.
绿幕抠图(去除绿色 / 蓝色背景)Remove Green Screen from Image
去除照片里的绿幕(或蓝幕、任意纯色背景):自动检测背景色,也可以在预览图上点选;可调容差和边缘柔和度,并去除人物边缘反射的绿色溢光;输出透明 PNG / WebP,或换成任意背景色。支持批量,图片只在浏览器本地处理,不会上传。Remove a green screen (or a blue screen or any solid backdrop) from photos. The backdrop colour is detected automatically or picked by clicking the preview, the tolerance and edge softness are adjustable, and green spill on the subject's edges is removed. Get a transparent PNG or WebP, or a new background colour. Works in bulk, and images are processed locally in your browser — nothing is uploaded.
图片滑动动画 GIF(滑入 / 滑出 / 循环滚动)Create Sliding Image Animation (GIF)
把图片做成滑动动画 GIF:向左、右、上、下滑入画面、滑入后再滑出,或无缝循环滚动(适合横幅和跑马灯背景);可设帧数、每帧时长、停留时间、背景色和输出宽度,带缓动效果。支持批量,图片只在浏览器本地处理。Turn an image into a sliding animated GIF — slide in from the left, right, top or bottom, slide in then out, or scroll in a seamless loop (great for banners and marquee backgrounds). Set the number of frames, frame duration, hold time, background colour and output width, with smooth easing. Works in bulk, and images are processed locally in your browser.
滚动字幕 GIF 生成器(跑马灯文字动图)Create Marquee Text Image (Scrolling Text GIF)
输入文字,生成从右向左(或从左向右)循环滚动的跑马灯 GIF 动图:可设置字号、字体、粗体、文字颜色、背景色或透明背景、动图宽高、滚动速度和每帧时间,首尾无缝衔接、无限循环。适合店铺公告、直播间横幅、论坛签名和网页走马灯,在浏览器本地生成,不上传任何内容。Type some text and get a looping marquee GIF that scrolls right-to-left (or left-to-right). Set the font size, typeface, bold, text colour, a background colour or a transparent background, the width and height, the scroll speed and the time per frame. The loop is seamless and repeats forever. Handy for shop notices, stream banners, forum signatures and web tickers. Everything is created locally in your browser.
渐变图片生成器(线性 / 径向 / 角向,导出图片和 CSS)Generate Gradient Image (Linear, Radial, Conic + CSS)
生成任意尺寸的渐变背景图:线性、径向(圆形)或角向(圆锥)渐变,最多 8 个颜色节点,可调角度和每个颜色的位置,内置日落、海洋、彩虹、色环等预设;实时预览,导出 PNG、JPG 或 WebP(最大 8000×8000),同时给出效果完全一致的 CSS 代码。适合做壁纸、网页背景、封面和占位图,在浏览器本地生成。Make a gradient background image at any size: linear, radial (circular) or conic gradients with up to 8 colour stops, an adjustable angle and stop positions, plus presets such as sunset, ocean, rainbow and colour wheel. Preview live, export PNG, JPG or WebP (up to 8000×8000), and copy matching CSS code. Great for wallpapers, web backgrounds, covers and placeholders. Everything is generated locally in your browser.
图片转 01 字符画(二进制文字艺术)Convert Image to Binary Art (0/1 Text Art)
把图片转换成由 0 和 1(或 █、#、自定义字符)组成的文字画:可设置宽度(每行字符数)、自动阈值(Otsu 算法)或手动阈值、抖动、反转明暗,输出可直接复制或下载为 .txt。行数会按字符的高宽比自动压缩,保持图片比例不变形。适合做黑客风头像、代码注释彩蛋和终端 Banner,图片只在浏览器本地处理。Turn a picture into text art made of 0s and 1s (or █ blocks, # marks or your own two characters). Set the width in characters, use an automatic (Otsu) or manual threshold, add dithering or invert, then copy the result or download it as .txt. The row count is squashed to suit the shape of text characters, so the picture keeps its proportions. Fun for hacker-style avatars, code-comment Easter eggs and terminal banners. Images are processed locally in your browser.
检查图片是不是 PNG(文件格式、损坏、APNG 检测)Check If Image Is PNG (Format, Corruption & APNG Check)
检查文件是不是真正的 PNG 图片:按文件头字节识别真实格式(扩展名改过的 JPG、WebP 等也能认出来),并逐个校验 PNG 数据块的 CRC,发现文件损坏、被截断、签名被改写或 IEND 后附加数据;同时显示尺寸、颜色类型、位深、透明、隔行扫描、APNG 动画帧数、DPI、色彩配置和文本信息。可一次检查多个文件,全部在浏览器本地完成,不上传。Check whether a file is really a PNG image. The tool identifies the true format from the file's header bytes (so it spots renamed JPGs, WebPs and more) and verifies the CRC of every PNG chunk to find damaged or cut-off files, a mangled signature, or data appended after IEND. It also shows the size, colour type, bit depth, transparency, interlacing, APNG frame count, DPI, colour profile and text fields. Check many files at once; everything runs locally in your browser and nothing is uploaded.
图片取色器(查看像素 RGB / HEX / HSL 颜色值)Show RGB Image Colors (Pixel Colour Picker)
上传图片后,鼠标移到任意像素即可实时看到它的 RGB、HEX、HSL 颜色值和透明度,点击可把颜色固定到列表,一次收集多个颜色并复制或导出 CSV;同时统计图片的颜色总数、平均色和主要颜色占比。小图标会自动放大显示,方便精确取到每个像素。适合设计取色、核对品牌色和检查截图颜色,图片只在浏览器本地处理。Open an image and point at any pixel to see its RGB, HEX and HSL values and its transparency live. Click to pin colours to a list, collect as many as you need, then copy them or export a CSV. The tool also counts the distinct colours and shows the average colour and the main colours with their shares. Small icons are enlarged automatically so you can pick each pixel precisely. Useful for picking design colours, checking brand colours and inspecting screenshots. Images are processed locally in your browser.
检查图片是否透明(透明像素、Alpha 通道检测)Check Image Transparency (Alpha Channel & Transparent Pixels)
检查图片有没有透明背景:逐像素统计完全透明、半透明和不透明像素的比例,读取文件头判断格式是否带透明通道(PNG Alpha / tRNS、GIF 透明色、WebP Alpha),给出可见内容的范围(可据此裁掉透明边),并发现“带透明通道但其实没用到”的图片。支持 PNG、WebP、GIF、AVIF、BMP、JPG 等,可批量检查,图片只在浏览器本地处理。Find out whether an image has a transparent background. The tool counts fully transparent, semi-transparent and opaque pixels, reads the file header to see whether the format carries transparency (PNG alpha or tRNS, GIF transparent colour, WebP alpha), reports the visible content box (handy for trimming transparent margins), and flags images that have a transparency channel they never use. Works with PNG, WebP, GIF, AVIF, BMP, JPG and more, in batches. Images are processed locally in your browser.
图片剪影生成(把主体变成纯色轮廓)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.
图片扭曲(漩涡 / 旋转扭曲效果)Twist Image Pixels (Swirl Effect)
给图片加上漩涡扭曲效果:以指定中心把像素旋转扭曲,越靠近中心转得越多、到边缘逐渐恢复,可调扭曲角度(正数顺时针、负数逆时针,最多 ±720°)、影响半径和中心位置,双线性插值保证平滑。适合做趣味头像、梦幻背景、迷幻海报和转场素材,支持批量,图片只在浏览器本地处理。Add a swirl to an image. Pixels around a chosen centre are rotated, the most near the centre and fading back to normal at the edge of the swirl. Adjust the twist angle (positive turns clockwise, negative anticlockwise, up to ±720°), the radius and the centre point; bilinear sampling keeps it smooth. Fun for avatars, dreamy backgrounds, psychedelic posters and transitions. Works in bulk, and images are processed locally in your browser.
像素排序(Pixel Sorting 故障艺术)Sort Pixels in Image (Pixel Sorting Glitch Art)
经典的 Pixel Sorting 故障艺术效果:把每一行(或每一列)的像素按亮度、色相、饱和度或红绿蓝通道重新排序,可设置亮度范围只排序其中的连续片段(保留暗部或亮部的原样,做出“流淌”的条纹),可选升序或降序。逐像素精确,支持批量,适合做唱片封面、海报和抽象壁纸,图片只在浏览器本地处理。The classic pixel-sorting glitch effect. The pixels in each row (or column) are reordered by brightness, hue, saturation or the red, green or blue channel. Set a brightness range to sort only the runs of pixels inside it, so dark or bright parts stay in place and you get flowing streaks, and choose ascending or descending order. Pixels are moved exactly; works in bulk. Great for album covers, posters and abstract wallpapers. Images are processed locally in your browser.
打乱图片像素(随机混淆,可用种子还原)Mix Pixels in Image (Scramble & Unscramble)
随机打乱图片的像素:可打乱全部像素、只在小方块内打乱、打乱整行或整列,或像拼图一样打乱方块位置。使用种子数控制随机顺序,同一种子总是得到相同结果,勾选“还原”并输入同一种子即可把打乱后的 PNG 精确恢复成原图,可用来简单地遮挡图片内容。支持批量,图片只在浏览器本地处理。Scramble the pixels of an image: shuffle all pixels, shuffle only within small blocks, shuffle whole rows or columns, or swap square tiles around like a jigsaw. A seed number controls the random order, so the same seed always gives the same result; tick Unscramble and enter the same seed to restore a scrambled PNG to the exact original, which makes it a simple way to hide what a picture shows. Works in bulk, and images are processed locally in your browser.
查看图片字节(十六进制 Hex 查看器)Print Image Bytes (Hex Viewer)
打开图片(或任意文件)查看它的原始字节:经典 hexdump 格式(偏移量 + 十六进制 + ASCII),或纯十六进制、十进制、二进制,也能直接生成 C 数组、JavaScript Uint8Array 和 Python bytes 代码;可设置起始位置(支持 0x 十六进制)、显示长度和每行字节数,自动识别 PNG、JPEG、GIF、WebP 等格式。适合分析文件头、调试图片和嵌入式开发,全程在浏览器本地完成。Open an image (or any file) and look at its raw bytes. You get a classic hexdump (offset + hex + ASCII), plain hex, decimal or binary, or ready-made code as a C array, a JavaScript Uint8Array or Python bytes. Set the start offset (0x hex works), how many bytes to show and the bytes per line; PNG, JPEG, GIF, WebP and other formats are recognised automatically. Useful for inspecting file headers, debugging images and embedded work. Everything runs locally in your browser.
字节转图片(Hex / Base64 / 原始像素还原图片)Create Image from Bytes (Hex, Base64, Raw Pixels)
把一串字节还原成图片:支持十六进制(含 0x、\x、C 数组和 hexdump 格式)、十进制、二进制、Base64 和 Data URI,可自动识别输入格式;字节如果是图片文件(PNG、JPEG、GIF、WebP、BMP、ICO、AVIF、SVG)就直接显示并下载原文件,如果是原始像素数据(RGB、RGBA、BGRA、灰度),填写宽度即可生成 PNG。适合调试固件、抓包数据和代码里内嵌的图片,全程在浏览器本地完成。Rebuild an image from a string of bytes. Hex (including 0x, \x, C arrays and hexdump output), decimal, binary, Base64 and Data URIs all work, and the input format is detected automatically. If the bytes are an image file (PNG, JPEG, GIF, WebP, BMP, ICO, AVIF, SVG) it is shown and you can download the original file; if they are raw pixels (RGB, RGBA, BGRA or greyscale), enter the width to get a PNG. Handy for debugging firmware, captured packets and images embedded in code. Everything runs locally in your browser.
图片转 RGB 数值(导出每个像素的颜色值)Convert Image to RGB Values
把图片的每个像素导出为 RGB 数值:可选 CSV(x, y, r, g, b)、JSON 二维数组、HEX 颜色网格、CSS rgb() 或每行一个“r, g, b”,可包含透明度 Alpha,并可先缩放到指定宽度以减少数据量。结果可复制或下载,也能用“RGB 数值转图片”工具原样还原。适合编程练习、LED 点阵、数据分析和机器学习预处理,图片只在浏览器本地处理。Export every pixel of an image as RGB values: CSV (x, y, r, g, b), a JSON 2-D array, a grid of HEX colours, CSS rgb() values or one 'r, g, b' per line, optionally with alpha, and you can scale the image to a smaller width first to cut the amount of data. Copy or download the result, and turn it back into the same image with the RGB Values to Image tool. Handy for coding exercises, LED matrices, data analysis and machine-learning preprocessing. Images are processed locally in your browser.
RGB 数值转图片(把颜色值画成像素图)Convert RGB Values to Image
把一组 RGB 颜色值生成图片:支持每行“r, g, b”、HEX 颜色(#ff0000)、rgb() / rgba()、JSON 数组和带 x, y 坐标的 CSV,可自动识别行列结构(每行文字 = 一行像素),也可手动指定宽度;支持透明度,可按整数倍放大像素便于查看,导出无损 PNG。能直接还原“图片转 RGB 数值”导出的数据,适合像素画、LED 点阵预览和数据可视化,全程在浏览器本地完成。Build an image from a list of RGB colour values. It accepts 'r, g, b' per line, HEX colours (#ff0000), rgb() / rgba(), JSON arrays and CSV with x, y coordinates. The row layout is detected automatically (one line of text = one row of pixels), or you can set the width yourself. Alpha is supported, pixels can be enlarged by a whole-number scale for viewing, and the result is a lossless PNG. It rebuilds data exported by Image to RGB Values exactly. Great for pixel art, LED-matrix previews and data visualisation, all locally in your browser.
文字转像素字(像素风文字图片)Convert Text to Pixel Art
把文字变成像素风格的图片:按设定的字高(几个像素格)把文字栅格化成方块,再按每格大小放大成清晰锐利的像素字,支持中文、英文和多行文字;可选字体、粗体、文字颜色、背景色或透明背景、格子线和留白,导出 PNG 或矢量 SVG。适合游戏标题、像素风海报、头像昵称和 8-bit 风格设计,全程在浏览器本地生成。Turn text into pixel-style images. The text is rasterised into square cells at the height you choose (a few cells tall), then each cell is enlarged into sharp, blocky pixel lettering. Chinese, English and multi-line text all work. Choose the font, bold, text colour, a background colour or transparency, grid lines and padding, then export PNG or vector SVG. Great for game titles, pixel-art posters, name tags and 8-bit designs, generated locally in your browser.
颜色可视化(色值列表生成色卡)Visualize Colors (Colour List to Swatches)
粘贴一组颜色值,立即生成色卡:支持 HEX(#f00、#ff0000、#ff000080、不带 # 的 6 位色值)、rgb() / rgba()、hsl()、CSS 颜色名(red、teal…)以及现代 CSS 颜色写法,用换行、逗号、空格或分号分隔都可以;可选网格色卡、横条或连续色带布局,标注 HEX、RGB、HSL 或原始写法,透明色显示在棋盘格上,导出 PNG,并输出统一格式的色值列表。适合整理配色方案、品牌色和设计稿,全程在浏览器本地完成。Paste a list of colour values and get swatches straight away. HEX (#f00, #ff0000, #ff000080, or six digits without #), rgb() / rgba(), hsl(), CSS colour names (red, teal…) and modern CSS colour syntax all work, separated by new lines, commas, spaces or semicolons. Choose a swatch grid, stripes or a continuous band, label each colour as HEX, RGB, HSL or as written (transparent colours show on a checkerboard), export a PNG, and get the list back in one consistent format. Great for organising palettes, brand colours and design specs, all locally in your browser.
位图模糊(BMP 高斯模糊 / 方框模糊)Blur a Bitmap (Gaussian & Box Blur)
给位图(BMP)或其他图片加模糊效果:高斯模糊过渡自然,适合做背景、柔化细节;方框模糊(均值模糊)按设定半径取周围像素的平均值,计算结果可预测。半径从 0 到 50 像素可调,边缘按最近像素延伸、不会出现黑边,透明部分按预乘 Alpha 计算不会发灰。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Blur a bitmap (BMP) or any other image. Gaussian blur gives a smooth, natural softening — good for backgrounds and hiding detail — while box blur (mean blur) averages the pixels within the radius for a predictable result. Choose a radius from 0 to 50 pixels; edges are extended from the nearest pixel so no dark border appears, and transparency is handled with premultiplied alpha so edges do not go grey. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图换色(替换 BMP 中的指定颜色)Change Bitmap Colours (Replace a Colour in a BMP)
把位图(BMP)或其他图片里的某种颜色换成另一种颜色:选择要替换的颜色和新颜色,用容差同时匹配相近的颜色(例如压缩后不纯的白底),也可以保留原来的明暗细节,只整体改变色调。会显示替换了多少个像素。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Replace one colour in a bitmap (BMP) or any other image with another. Pick the colour to replace and the new colour, use the tolerance to catch similar shades too (such as an off-white background from compression), and optionally keep the original light and shade so only the hue shifts. The tool tells you how many pixels changed. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
BGR 位图转 RGB(修正红蓝颠倒的 BMP)Convert BGR Bitmap to RGB Bitmap
把按 BGR 顺序保存、显示时红蓝颠倒的位图转换成正常的 RGB:每个像素的红色和蓝色通道互换,绿色和透明度不变,结果逐像素精确。常见于 OpenCV、部分相机和工业设备 SDK、显卡截图或自己写的 BMP 导出代码(BMP 文件本身就按 B-G-R 存储像素,写错一步就会颜色反转)。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Fix a bitmap that was saved in BGR order and shows red and blue swapped: the red and blue channels of every pixel are exchanged while green and transparency stay the same, exactly pixel for pixel. This happens with OpenCV, some camera and industrial SDKs, GPU captures and home-made BMP writers (BMP files store pixels as B-G-R, so one wrong step swaps the colours). The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图转灰度(导出 8 位灰度 BMP)Convert Bitmap to Grayscale
把位图(BMP)或其他图片转换成灰度:可选 ITU-R BT.601(常用的 0.299R + 0.587G + 0.114B)、BT.709(高清视频标准)、平均值、明度(最大值和最小值的平均),或直接取红、绿、蓝某一个通道,还可以反相。导出 BMP 时生成真正的 8 位灰度位图(256 级灰度调色板),文件只有 24 位 BMP 的约三分之一大;也可以导出 PNG 并保留透明。支持批量,图片只在浏览器本地处理。Convert a bitmap (BMP) or any other image to greyscale. Choose ITU-R BT.601 (the common 0.299R + 0.587G + 0.114B), BT.709 (the HD video standard), the average, lightness (mean of the largest and smallest channel), or a single red, green or blue channel, and optionally invert. BMP output is a true 8-bit greyscale bitmap with a 256-level grey palette, about a third the size of a 24-bit BMP; PNG output keeps transparency. Works in bulk, and images are processed locally in your browser.
位图转 VGA 颜色(16 色 / 256 色调色板 BMP)Convert Bitmap to VGA Colours (16 & 256-Colour Palette)
把位图(BMP)或其他图片转换成经典 VGA 调色板的颜色:16 色(DOS 默认的 EGA/VGA 文本模式颜色)或 256 色(VGA 13h 模式的默认调色板,含 16 色、16 级灰度和 216 种色相渐变),可选不抖动或 Floyd–Steinberg 误差扩散抖动,复古 DOS 游戏风格。导出 BMP 时生成真正的 4 位(16 色)或 8 位(256 色)索引色位图,调色板与 VGA 完全一致,可直接用于老式程序和 DOS 开发;也可以导出 PNG。支持批量,图片只在浏览器本地处理。Convert a bitmap (BMP) or any other image to the classic VGA palette: 16 colours (the default DOS EGA/VGA text-mode colours) or 256 colours (the default palette of VGA mode 13h, with the 16 colours, 16 greys and 216 hue ramps), with no dithering or Floyd–Steinberg error diffusion for that retro DOS-game look. BMP output is a true 4-bit (16-colour) or 8-bit (256-colour) indexed bitmap whose palette matches VGA exactly, ready for old software and DOS development; PNG is also available. Works in bulk, and images are processed locally in your browser.
位图转十六进制(BMP 像素 HEX 颜色 / C 数组)Convert Bitmap to Hex
把位图(BMP)的像素导出为十六进制:每行一排像素的 #RRGGBB 颜色网格、不带 # 的 RRGGBB、C 语言数组(0xRRGGBB,可直接用于单片机和 LED 点阵程序),或 BMP 文件里按 B-G-R 顺序存放的原始像素字节(含每行补齐的填充字节)。同时显示 BMP 文件头信息:DIB 头类型、尺寸、位深、压缩方式、行顺序和像素数据偏移。可包含透明度、选择大小写,并可先缩小到指定宽度。也支持 PNG、JPG 等图片,全部在浏览器本地完成。Export the pixels of a bitmap (BMP) as hexadecimal: a grid of #RRGGBB colours with one row of pixels per line, plain RRGGBB, a C array (0xRRGGBB, ready for microcontroller and LED-matrix code), or the raw pixel bytes exactly as the BMP file stores them in B-G-R order, row padding included. The BMP header is shown too: DIB header type, size, bit depth, compression, row order and pixel-data offset. Alpha can be included, upper or lower case chosen, and the image scaled down to a width first. PNG, JPG and other images work too; everything runs in your browser.
位图转 RGB 数值(BMP 像素颜色值导出)Convert Bitmap to RGB Values
把位图(BMP)每个像素的颜色导出为 RGB 数值:每行一个“r, g, b”、每行一排像素的 (r, g, b) 元组、CSV(x, y, r, g, b)、JSON 二维数组,或按 BMP 文件内部的 B-G-R 顺序输出,可包含透明度(Alpha),并可先缩小到指定宽度以减少数据量。同时显示 BMP 文件头信息(位深、压缩方式、行顺序等)。结果可复制或下载,也能用“RGB 数值转位图”还原。也支持 PNG、JPG 等图片,全部在浏览器本地完成。Export the colour of every pixel of a bitmap (BMP) as RGB values: one "r, g, b" per line, one row of pixels per line as (r, g, b) tuples, CSV (x, y, r, g, b), a JSON 2-D array, or the B-G-R order BMP uses internally, optionally with alpha, and scale the image down to a width first to cut the amount of data. The BMP header (bit depth, compression, row order and more) is shown too. Copy or download the result, and turn it back into an image with RGB Values to Bitmap. PNG, JPG and other images work too; everything runs in your browser.
动画转位图精灵图(GIF 拆帧拼成 Sprite Sheet)Convert Animation to Bitmap Sprites
把 GIF、WebP 或 APNG 动画的每一帧取出来,按网格、横排或竖排拼成一张精灵图(Sprite Sheet),保存为 24 位 BMP 位图或 PNG。可设置列数、帧间距、每隔几帧取一帧、最多帧数和背景色(PNG 可保留透明),另外可下载每一帧单独的图片(ZIP)和记录每帧位置与时长的 JSON 坐标文件,方便游戏引擎、CSS 动画和单片机屏幕使用。全部在浏览器本地完成。Pull every frame out of a GIF, WebP or APNG animation and lay them out in a grid, a row or a column as one sprite sheet, saved as a 24-bit BMP bitmap or PNG. Set the number of columns, spacing between frames, take every Nth frame, a maximum frame count and the background colour (PNG can keep transparency). You can also download each frame as its own image (ZIP) and a JSON file with every frame's position and duration for game engines, CSS animation or microcontroller displays. Everything runs in your browser.
RGB 位图转 BGR(交换红蓝通道)Convert RGB Bitmap to BGR Bitmap
把普通 RGB 位图(BMP)或其他图片的红色和蓝色通道互换,生成 BGR 顺序的图片:绿色和透明度不变,结果逐像素精确。用于给要求 BGR 输入的 OpenCV、相机 SDK、显示屏驱动或嵌入式程序准备素材,或者检查一段 BMP 读写代码是否把颜色顺序弄反。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Swap the red and blue channels of a normal RGB bitmap (BMP) or any other image to get BGR order: green and transparency stay the same, exactly pixel for pixel. Use it to prepare images for OpenCV, camera SDKs, display drivers or embedded code that expect BGR input, or to check whether some BMP reading/writing code has the colour order the wrong way round. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图裁剪(按像素或百分比裁剪 BMP)Crop a Bitmap
按精确的像素坐标或百分比裁剪位图(BMP)或其他图片:填写左上角位置和裁剪宽高(留空表示到右边/底边为止),也可以从中心裁剪成指定尺寸,裁剪框超出图片时会自动收到图片范围内并提示。像素逐个复制、不重新采样,适合截取精灵图、图标和单片机屏幕素材。默认导出 24 位 BMP,也可以导出 PNG,支持批量(每张按同样的设置裁剪),图片只在浏览器本地处理。Crop a bitmap (BMP) or any other image by exact pixel coordinates or percentages: enter the top-left position and the crop width and height (blank means up to the right or bottom edge), or crop a given size from the centre. A crop box that runs past the image is clipped to it, with a note. Pixels are copied one for one with no resampling — ideal for cutting sprites, icons and microcontroller-screen assets. The result is a 24-bit BMP by default, or PNG; works in bulk (every image is cropped the same way), and images are processed locally in your browser.
位图水平翻转(左右镜像 BMP)Flip a Bitmap Horizontally
把位图(BMP)或其他图片左右翻转(水平镜像),像照镜子一样:最左边的一列像素变成最右边,上下不变。逐像素精确,不会模糊或改变颜色,适合制作朝向相反的游戏精灵、镜像文字和对称图案。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Flip a bitmap (BMP) or any other image left to right (a horizontal mirror), like looking in a mirror: the leftmost column of pixels becomes the rightmost, and top and bottom stay put. It is exact pixel for pixel, with no blurring or colour change — good for game sprites facing the other way, mirrored text and symmetrical patterns. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图垂直翻转(上下颠倒 BMP)Flip a Bitmap Vertically
把位图(BMP)或其他图片上下翻转(垂直镜像):最上面一行像素变成最下面一行,左右不变。逐像素精确,不会模糊或改变颜色。也可以用来修正因为行顺序(自下而上 / 自上而下)处理错误而上下颠倒的 BMP。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Flip a bitmap (BMP) or any other image upside down (a vertical mirror): the top row of pixels becomes the bottom row, and left and right stay put. It is exact pixel for pixel, with no blurring or colour change. It also fixes BMPs that come out upside down because some code got the row order (bottom-up versus top-down) wrong. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图反色(BMP 负片效果)Invert Bitmap Colours
把位图(BMP)或其他图片的颜色反转成负片:每个通道变成 255 减去原值,黑变白、红变青、蓝变黄。可以只反转红、绿、蓝中的某个通道,可选是否同时反转透明度(默认保持透明不变)。逐像素精确,反转两次即可还原。适合查看底片、制作暗色版图标、单色点阵屏的取反显示。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Invert the colours of a bitmap (BMP) or any other image into a negative: each channel becomes 255 minus its value, so black turns white, red turns cyan and blue turns yellow. You can invert just the red, green or blue channel, and choose whether transparency is inverted too (by default it is kept). The result is exact pixel for pixel, and inverting twice restores the original. Useful for viewing negatives, making dark-mode icons and inverted output for monochrome displays. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图减色(减少 BMP 颜色数 / 索引色)Reduce Bitmap Colours
把位图(BMP)或其他图片的颜色减少到指定数量(2–256 种):用中位切分算法根据图片本身挑选最有代表性的颜色,可选 Floyd–Steinberg 抖动让渐变更自然。导出 BMP 时生成真正的索引色位图——2 色为 1 位、16 色以内为 4 位、256 色以内为 8 位,文件比 24 位 BMP 小得多,适合老式设备、单片机屏幕和像素画。图片本来颜色就不多时会原样保留全部颜色。也可以导出 PNG,支持批量,只在浏览器本地处理。Reduce a bitmap (BMP) or any other image to a set number of colours (2–256). The median-cut algorithm picks the most representative colours from the image itself, and optional Floyd–Steinberg dithering keeps gradients smooth. BMP output is a true indexed bitmap — 1-bit for 2 colours, 4-bit for up to 16 and 8-bit for up to 256 — much smaller than a 24-bit BMP, ideal for old devices, microcontroller screens and pixel art. An image that already has few enough colours keeps every one exactly. PNG is also available; works in bulk, locally in your browser.
去除位图边框(自动裁掉 BMP 四周的纯色边)Remove a Bitmap Border
自动去掉位图(BMP)或其他图片四周的纯色边框或留白:以左上角像素的颜色为边框色(也可以自己指定颜色),按容差从四边向内找到第一行/列不同的像素并裁掉外面的部分,透明边框同样可以去除;也可以手动指定上、右、下、左各裁掉多少像素。会显示每一边去掉了多少像素。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Automatically remove a solid-colour border or margin around a bitmap (BMP) or any other image. The colour of the top-left pixel is taken as the border colour (or pick your own), and from each edge inwards the first row or column that differs by more than the tolerance is found and everything outside it is cut away; transparent borders are removed too. Or enter exactly how many pixels to cut from the top, right, bottom and left. The tool shows how much was removed from each side. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图缩放(调整 BMP 尺寸)Resize a Bitmap
把位图(BMP)或其他图片缩放到指定尺寸:按像素填写宽度和/或高度(只填一个时按比例计算另一个),或按百分比缩放;可以锁定宽高比,也可以拉伸到精确尺寸。缩放方式可选“平滑”(高质量插值,适合照片)或“最近邻”(像素保持方块、边缘锐利,适合像素画、图标和单片机屏幕素材,按整数倍放大时完全不失真)。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Resize a bitmap (BMP) or any other image: enter a width and/or height in pixels (fill in one and the other follows the aspect ratio) or scale by a percentage; keep the aspect ratio or stretch to an exact size. Choose Smooth (high-quality interpolation, for photos) or Nearest neighbour (pixels stay square with crisp edges — for pixel art, icons and microcontroller-screen assets; whole-number enlargements are perfectly lossless). The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图旋转(BMP 旋转 90° / 180° / 任意角度)Rotate a Bitmap
把位图(BMP)或其他图片旋转 90°、180°、270°(逐像素精确、无损),或旋转任意角度(-360° 到 360°,正数为顺时针)。任意角度时画布会自动扩大以完整显示旋转后的图片,空出的角落可以填背景色或保持透明(PNG)。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Rotate a bitmap (BMP) or any other image by 90°, 180° or 270° (exact and lossless, pixel for pixel), or by any angle from -360° to 360° (positive is clockwise). For any other angle the canvas grows so the whole rotated picture fits, and the empty corners are filled with a background colour or left transparent (PNG). The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图分色(拆分 BMP 的红、绿、蓝通道)Separate Bitmap Colours
把位图(BMP)或其他图片拆分成红、绿、蓝三个颜色通道:可以把三个通道并排放在一张图里对比,也可以只导出其中一个通道。每个通道可以显示成对应的颜色(只保留该通道的值),或者显示成灰度(通道值越大越亮,方便看出该颜色的分布),结果逐像素精确。也可以导出 CMY(青、品红、黄)分色。默认导出 24 位 BMP,也可以导出 PNG,支持批量,图片只在浏览器本地处理。Split a bitmap (BMP) or any other image into its red, green and blue channels: put all three side by side in one image to compare them, or export just one. Each channel can be shown in its own colour (only that channel kept) or as greyscale (brighter where the channel is stronger, to see how the colour is distributed), exactly pixel for pixel. CMY (cyan, magenta, yellow) separations are available too. The result is a 24-bit BMP by default, or PNG; works in bulk, and images are processed locally in your browser.
位图锐化(BMP 反锐化掩模 / 拉普拉斯)Sharpen a Bitmap
锐化位图(BMP)或其他图片:反锐化掩模(Unsharp Mask)先做轻微模糊再把细节按强度加回去,边缘清晰又不容易出现杂色;拉普拉斯锐化用 3×3 核对边缘直接加重,效果更“硬”。强度 0–200% 可调(100% 为常用默认),强度 0 等于不做任何改动。透明像素按预乘 Alpha 处理。默认导出 24 位 BMP,也可导出 PNG,支持批量,图片只在浏览器本地处理。Sharpen a bitmap (BMP) or any other image. Unsharp Mask blurs a copy and adds the detail back by the amount you set — clear edges without too much noise — while Laplacian sharpening uses a 3×3 kernel for a harder edge boost. Amount goes from 0 to 200% (100% is a useful default); amount 0 leaves the image unchanged. Transparency uses premultiplied alpha. The result is a 24-bit BMP by default, or PNG; works in bulk, locally in your browser.
提取位图调色板(BMP 主色 / 色值列表)Extract a Bitmap Colour Palette
从位图(BMP)或其他图片中提取主色调色板:按出现次数选出最多 64 种颜色,列出 HEX 色值和占比,并可把原图映射到提取的调色板(减色)。适合做像素风参考、设计取色、生成 CSS 变量。默认导出 PNG(调色板色条)或映射后的 24 位 BMP,支持批量,图片只在浏览器本地处理。Extract a colour palette from a bitmap (BMP) or any other image: up to 64 colours by frequency, listed with HEX codes and shares, and optionally remap the image onto that palette. Handy for pixel-art references, design swatches and CSS variables. Default output is a PNG swatch strip or a remapped 24-bit BMP; works in bulk, locally in your browser.
十六进制转位图(HEX / C 数组 → BMP)Convert Hex to Bitmap
把十六进制颜色网格或 C 数组画回位图:支持 #RRGGBB / RRGGBB 每行一排像素、0xRRGGBB 的 C 数组,以及按宽度自动折行。可指定宽度(留空 = 按行推断)和放大倍数,导出 24 位 BMP 或 PNG。适合把单片机点阵、LED 程序里的色值还原成图片,全部在浏览器本地完成。Paint a hex colour grid or C array back into a bitmap: #RRGGBB / RRGGBB with one pixel row per line, a C array of 0xRRGGBB values, or a flat list wrapped to a width you set (blank = infer from line breaks). Set a scale for viewing and export a 24-bit BMP or PNG. Handy for turning microcontroller or LED colour tables back into pictures; everything runs locally in your browser.
RGB 数值转位图(把颜色值画成 BMP)Convert RGB Values to Bitmap
把 RGB 数值列表画成位图:支持每行 R,G,B 或 R G B、JSON 数组 [[r,g,b],…]、带 Alpha 的 r,g,b,a、#RRGGBB 和带坐标的 CSV。可指定宽度(留空 = 按行推断)和放大倍数,导出 24 位 BMP 或 PNG。适合把表格、程序输出或传感器色值还原成图片,全部在浏览器本地完成。Paint a list of RGB values into a bitmap: lines of R,G,B or R G B, a JSON array [[r,g,b],…], optional alpha as r,g,b,a, #RRGGBB and CSV with coordinates. Set a width (blank = infer from lines) and a scale, then export a 24-bit BMP or PNG. Handy for turning spreadsheets, program output or sensor colours back into pictures; everything runs locally.
符号转位图(ASCII / Braille 画 → BMP)Convert Symbols to a Bitmap
把 ASCII 画、方块符号(█ ▓ ▒ ░)或盲文点阵(Braille)转成位图:每个字符对应一个像素格的亮度,盲文每个字符展开为 2×4 点。可设每格大小、前景/背景色和透明背景,导出 24 位 BMP 或 PNG。适合把终端 ASCII art、Unicode 点阵还原成图片,全部在浏览器本地完成。Turn ASCII art, block symbols (█ ▓ ▒ ░) or Braille patterns into a bitmap: each character becomes one cell of brightness, and each Braille character expands to a 2×4 dot grid. Set cell size, foreground/background colours and optional transparency, then export a 24-bit BMP or PNG. Handy for turning terminal ASCII art or Unicode dot patterns back into pictures; everything runs locally.
随机位图生成器(噪点 / 色块 BMP)Draw a Random BMP
生成一张随机位图:可选每像素彩色、灰度、黑白噪点或大色块马赛克;可设宽高、色块大小、黑色比例和随机种子(相同种子得到相同图片)。导出 24 位 BMP 或 PNG,适合做测试图、纹理底图和占位图,全部在浏览器本地完成。Generate a random bitmap: per-pixel colour, greyscale, black-and-white noise or a larger-cell mosaic. Set width, height, cell size, black ratio and an optional seed (the same seed always gives the same picture). Exports a 24-bit BMP or PNG — handy for test patterns, texture bases and placeholders; everything runs locally.
给图片加对称Add Symmetry to Image
把图片沿水平或垂直轴镜像,拼成左右或上下对称图(宽或高变为原来的两倍)。适合墨迹/图案效果;全部在浏览器本地处理。Mirror an image across a horizontal or vertical axis into left–right or top–bottom symmetry (width or height doubles). Good for inkblot/pattern effects; processed entirely in your browser.
位图转 Base64Base64 Encode Bitmap
把图片编码为 Base64(可选 PNG / JPG / WebP),本地处理。可设置「输出格式」、「质量」。Encode an image as Base64 (PNG / JPG / WebP). Processed locally. Settings: Format, Quality.
位图转 1 位Convert Bitmap to 1 Bit
按亮度阈值把图片变成黑白 1-bit。可设置「阈值」、「输出格式」、「质量」。Threshold luminance to a black-and-white 1-bit image. Settings: Threshold, Format, Quality.
位图转字节数组Convert Bitmap to Byte Array
导出 RGBA 字节(用于核对前几个像素)。可设置「输出格式」、「质量」。Export RGBA bytes (spot-check the first pixels). Settings: Format, Quality.
Base64 解码位图Base64 Decode Bitmap
把 Base64 / data-URL 解码成图片预览。Decode Base64 / data-URL into an image preview.
康托尔分形(康托尔梳)Draw a Cantor Fractal
绘制经典的康托尔集梳状图:从一条线段开始,每一步去掉中间三分之一,在多行上展示迭代过程。可调迭代次数、画布尺寸、颜色和线宽,导出 PNG,全部在浏览器本地完成。Draw the classic Cantor comb: start with a line segment and remove the middle third at each step, stacked as rows of iterations. Set depth, canvas size, colours and line width, export a PNG — all locally in your browser.
康托尔尘分形Draw a Cantor Dust Fractal
绘制二维康托尔尘:把正方形反复分成 9 格,只保留四角(或四角+中心)。可选常规尘、连通尘、箱分形,可调迭代、缩小比、颜色,导出 PNG。Draw 2-D Cantor dust: repeatedly split a square into nine and keep the four corners (or corners plus centre). Choose regular, connected or box dust, set iterations and reduction, colours, export PNG.