PBM を XBM に変換
端末内ですべて処理しています — 大きなファイルは少し時間がかかる場合があります。
PBM は白黒 2 値の portable bitmap です。1 ピクセル 1 ビットという最も単純な画像形式で、自作ツールでも扱えます。 X11 由来の白黒アイコンを PNG に変換します。
変換のすべてが端末上で完結するため、瞬時に、無制限に、そして本当にプライベート — アカウントも透かしも、サーバーに置かれるファイルもありません。複数ファイルをまとめて変換できます。
How PBM compares to XBM
| PBM | XBM | |
|---|---|---|
| Structure | P1 (ASCII) / P4 (binary) header + bits | C #defines + hex byte array |
| Types / schema | 1-bit black & white | 1-bit, X11 bit order |
| Compatibility | netpbm, GIMP, ImageMagick | X11, C compilers, GTK |
| Best for | Print/fax pipelines, 1-bit art | Compiled-in cursors and icons |
PBM を XBM に変換する方法
- 1
ファイルを選択
PBM ファイルを上のエリアにドラッグ&ドロップするか、クリックして選択してください。複数ファイルを同時に追加して一括変換できます。
- 2
即座に変換
「XBM に変換」をクリックしてください。変換は WebAssembly を使ってブラウザ内で完結します — アップロードも待ち行列もありません。
- 3
結果をダウンロード
変換された XBM ファイルを個別に、またはまとめて ZIP でダウンロードできます。
PBM 形式について
PBM は白黒 2 値の画像形式です。1 ピクセルを 1 ビットで表すという最も単純な構造です。
マスクや 2 値画像の処理に向きます。閲覧には PNG への変換が便利です。
+長所
- ✓構造が極めて単純
- ✓容量が小さい
- ✓Zero patents, zero compression surprises
!短所
- −2 値しか表現できない
- −一般的な用途には不向き
- −No alpha channel
XBM 形式について
XBM is the most honest image format ever shipped: the "file" is a C source array of hex bytes, compiled straight into X11 applications as cursor and icon bitmaps. Rendered, it is 1-bit black and white — the ancestors of every pixel-art cursor you still use.
Because it compiles, XBM never died: firmware UIs, embedded icons and retro Unix tooling still want it. Converting a PNG down to XBM gives embeddable, compilable art; the other direction previews what the C array actually draws.
+長所
- ✓Compiles directly into C/C++ programs
- ✓Zero-payload format — text only
- ✓Still required by embedded and Unix tooling
!短所
- −1-bit black & white only
- −Human-hostile representation
- −X11 bit order trips up hand-rolled decoders
PBM を XBM に変換する理由
目先の互換性だけで選ぶと、後でファイルを開けなくなることがあります。2 値しか表現できない XBM は長期的な安心を提供します:Compiles directly into C/C++ programs 今のうちに変換しておけば、形式の心配はもう終わりです。
よくある質問
Is this PBM to XBM converter really free?
Yes — completely free, with no sign-up, no watermark and no daily conversion limits. The site is supported by advertising.
Are my files uploaded to a server?
No. The conversion runs entirely inside your browser using WebAssembly, so your files never leave your device — that is what makes it instant and private.
Does it work on Windows, Mac, iPhone and Android?
Yes. Anything with a modern browser works: Windows, macOS, Linux, Android and iOS. No software installation is required.
Will I lose quality converting PBM to XBM?
No — XBM is a lossless format, so every pixel of the converted image matches your original PBM file. You can also adjust the quality/size balance before converting when the target format supports compression.
EXIF データは残りますか?
通常は再エンコード時に削除されます。位置情報などのメタデータを残したい場合は、EXIF 保持に対応した出力形式をお選びください。
画質とファイルサイズはどれくらい変わりますか?
フォーマットごとの圧縮効率が異なります。WebP や AVIF は同画质で JPG より大幅に小さくなることが多く、逆に PNG への変換は大きくなります。