XPM を PNM に変換
端末内ですべて処理しています — 大きなファイルは少し時間がかかる場合があります。
Netpbm 由来のデータを PNG に変換して扱いやすくします。 ファイルがまだ XPM 形式なら、このページが最短ルートです:XPM(X11 Pixmap)は画像を C のソースコードとして書いた形式です。コンパイラにそのまま埋め込めるため、Linux デスクトップや X11 アプリの古典的アイコン形式でした。
この変換ツールは WebAssembly により完全にブラウザ内で動作します — ファイルが端末から出ることはなく、アップロードも透かしも登録も待ち行列もありません。複数ファイルを一度にドロップして一括変換できます。
XPM を PNM に変換する方法
- 1
ファイルを選択
XPM ファイルを上のエリアにドラッグ&ドロップするか、クリックして選択してください。複数ファイルを同時に追加して一括変換できます。
- 2
即座に変換
「PNM に変換」をクリックしてください。変換は WebAssembly を使ってブラウザ内で完結します — アップロードも待ち行列もありません。
- 3
結果をダウンロード
変換された PNM ファイルを個別に、またはまとめて ZIP でダウンロードできます。
XPM 形式について
XPM は画像を C 言語の配列として書いた形式です。ソースコードに直接埋め込めるため、Linux デスクトップや X11 アプリの古典的なアイコン形式でした。
現在は PNG や SVG が主流です。古い資産を現代で扱うには変換が便利です。
+長所
- ✓ソースに埋め込める
- ✓テキストなので読める
- ✓Tiny for small flat icons
!短所
- −現在は利用が少ない
- −容量効率が悪い
PNM 形式について
PNM is not a format of its own — it is the family name for PBM/PGM/PPM, and files carrying the .pnm extension simply expect the reader to sniff the P1-P6 magic and branch accordingly. It exists because Unix tools always preferred one extension that means "any of these".
This converter auto-detects the member format on input and writes the full-color P6 flavor on output, so a .pnm file turns into anything modern without a separate PBM/PGM/PPM detour.
+長所
- ✓One extension for the whole netpbm family
- ✓Auto-detection on both read and write
- ✓Same bulletproof simplicity as PBM/PGM/PPM
!短所
- −Ambiguous by design — tools must sniff
- −Inherits all the size downsides of the family
- −Some tools only accept specific members
XPM を PNM に変換する理由
XPM を PNM に変換する意味は、PNM の長所が XPM にできないことを補える点にあります。One extension for the whole netpbm family 一方で 現在は利用が少ない 上の変換ツールを使えば、ファイルはその天秤の正しい側に置かれます。
よくある質問
Is this XPM to PNM 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 XPM to PNM?
No — PNM is a lossless format, so every pixel of the converted image matches your original XPM file. You can also adjust the quality/size balance before converting when the target format supports compression.
EXIF データは残りますか?
通常は再エンコード時に削除されます。位置情報などのメタデータを残したい場合は、EXIF 保持に対応した出力形式をお選びください。
透明背景は保持されますか?
出力形式が対応していれば保持されます(PNG・WebP・AVIF など)。JPEG は透明を白で塗りつぶすため、透明が必要なら PNG をお選びください。