🔠 十六进制转位图(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.
使用说明与常见问题How-to & FAQ
「十六进制转位图(HEX / C 数组 → BMP)」是什么?What is the Convert Hex to Bitmap tool?
把十六进制颜色网格或 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.
如何使用「十六进制转位图(HEX / C 数组 → BMP)」?How do I use the Convert Hex to Bitmap tool?
在「十六进制转位图(HEX / C 数组 → BMP)」中,按需设置「宽度(留空 = 自动)」、「放大倍数」、「格式」等选项,然后点击「下载」按钮即可。In the Convert Hex to Bitmap: Set "Width (blank = auto)", "Scale", "Format", then click "Download".
支持哪些写法?Which formats are accepted?
每行若干个 #RRGGBB 或 RRGGBB(空格 / 逗号分隔)会按行排成像素;也可以贴 C 语言里的 0xRRGGBB 列表,再填写宽度自动折行。#RGB 三位写法会扩展成六位;四位、五位等不完整写法会报错。和“位图转十六进制”导出的格式互相兼容。Several #RRGGBB or RRGGBB tokens per line (space or comma separated) become one pixel row; a C-style list of 0xRRGGBB values works too — set the width to wrap them. Three-digit #RGB is expanded to six digits; four- or five-digit tokens are rejected. It matches the formats from Convert Bitmap to Hex.
和“位图转十六进制”怎么配合?How does this work with Convert Bitmap to Hex?
先在“位图转十六进制”导出 #RRGGBB 网格或 C 数组,改几个色值后再粘贴回来,即可快速微调像素画或 LED 图案。Export a #RRGGBB grid or C array with Convert Bitmap to Hex, tweak a few values, paste them back here, and you can quickly edit pixel art or LED patterns.
「十六进制转位图(HEX / C 数组 → BMP)」免费吗?需要注册吗?Is the Convert Hex to Bitmap free? Do I need an account?
「十六进制转位图(HEX / C 数组 → BMP)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Hex to Bitmap is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.