免费在线将文件转换为XBM。
我们注重转换质量、使用便捷性和多格式支持。
| 数据类型 | Image |
| MIME 类型 | image/x-xbitmap |
| 开发者 | X Consortium / X Window System ecosystem |
| 主要使用场景 | X11 光标/图标、mask/clip、tile/stipple 图案。 |
XBM 是 X Window System 的超简易 1 位(黑白)位图格式,以 C 代码形式保存(#define 尺寸 + 字节数组)。
| 数据类型 | Image |
| MIME 类型 | image/x-xbitmap |
| 压缩 | None |
| 色深 | 1 bpp |
| 色彩空间 | 单色(1 位) |
| 透明度支持 | 否 |
| 动画支持 | 否 |
| EXIF 元数据支持 | 否 |
| 元数据 | No standard metadata blocks (commonly only width/height and optional hotspot defines) |
| 结构类型 | #define constants → static byte array initializer (C syntax) |
| 标准 / 规范 | No single formal specification; format is defined by X11 bitmap utilities and Xlib functions (XReadBitmapFile / XWriteBitmapFile) and widely documented references |
| 典型文件大小 | 小图标通常较小,但十六进制文本会带来额外开销 |
XBM 文件格式具有多项优势,适用于常见的使用场景。
XBM 文件格式存在一些限制,可能会在特定使用场景中产生影响。
XBM 图像在大多数设备和平台上都受到广泛支持。
不要将不可信的 XBM 当作 C 代码编译/包含;把它视为不可信输入并尽量转为现代格式。
Open / publicly documented de facto format (no formal modern standard; defined by X11 tooling and common practice)