🔍

首页Home › 图片工具Image Tools

🔠 十六进制转位图(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.

相关工具Related tools

🔢 位图转十六进制(BMP 像素 HEX 颜色 / C 数组)Convert Bitmap to Hex🖌️ RGB 数值转位图(把颜色值画成 BMP)Convert RGB Values to Bitmap🔤 符号转位图(ASCII / Braille 画 → BMP)Convert Symbols to a Bitmap🎲 随机位图生成器(噪点 / 色块 BMP)Draw a Random BMP🪞 给图片加对称Add Symmetry to Image🖼️ 位图转 Base64Base64 Encode Bitmap⬛ 位图转 1 位Convert Bitmap to 1 Bit🔢 位图转字节数组Convert Bitmap to Byte Array🖼️ Base64 解码位图Base64 Decode Bitmap➖ 康托尔分形(康托尔梳)Draw a Cantor Fractal⬚ 康托尔尘分形Draw a Cantor Dust Fractal❄️ 科赫分形(雪花 / 反雪花 / 折线)Draw a Koch Fractal

← 全部工具All tools