XPM ファイルについて
XPM (X PixMap · 画像フォーマット)
X PixMap(.xpm)は、専門的なワークフローやデータ交換・アーカイブで広く利用されているファイル形式です。KaijuConverterで高速に変換できます。
カテゴリ
Raster & Vector Images
拡張子
.xpm
MIMEタイプ
image/x-xpixmap
対応ロール
XPM が誕生した
背景と歴史。
XPM — X PixMap — was designed in 1989 by Daniel Dardailler and Colas Nahaboo at Bull Research Centre for the X Window System, the classic Unix GUI display server. Unlike binary image formats, an XPM file is valid C source code: a 2D character array where each ASCII character corresponds to a color. Compile the XPM directly into a C program and you have an embedded icon. The format’s other charm: it’s human-editable in any text editor.
For most of the 1990s and 2000s, every X11 application stored its icons and cursors as .xpm. Window managers, file managers, toolkit widgets — all .xpm under the hood. As modern UI toolkits (GTK, Qt) moved to PNG and SVG for icons, XPM receded. It still appears in X11 system files and in some retro Linux distributions, preserving the aesthetic of "you can literally write an icon in vi."
豆知識&
トリビア。
An XPM file is valid C code — you can #include it directly into a program and use the resulting character array as an embedded icon.
XWindow's cursor, icon, and pixmap resources used XPM throughout the 1990s — every X11 app shipped with dozens of .xpm files.
XPM was one of the first image formats to support transparency via a dedicated "None" color value.
You can write an XPM icon in a plain text editor by typing character art — one of the few image formats with that property.
Modern GTK and Qt have largely replaced XPM with PNG and SVG, but system-level X11 still carries XPM traces.
長所と
制限事項。
長所
- Valid C source — directly embeddable in code.
- Text-editable in any editor.
- Transparency via "None" color value.
- Stable since 1989 with no breaking changes.
制限・弱点
- Enormous file sizes vs compressed formats.
- Only useful within X11 / legacy Unix GUI ecosystem.
- Limited color palette in classic form (256 colors max practical).
- Superseded by PNG and SVG for modern UI.
一般的なファイルサイズ目安
Small icon (32×32, 16 colors)
2-5 KB
Toolbar button set
10-50 KB
技術仕様
- MIME type
- image/x-xpixmap
- Extension
- .xpm
- Encoding
- ASCII text (valid C source)
- Native environment
- X Window System (X11)
- Predecessor
- .xbm (X Bitmap, 1-bit)
.XPM ファイル専用の編集・圧縮・変換ツール
Compress Image to 20KB
KaijuConverterの「Compress Image to 20KB」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
Compress Image to 50KB
KaijuConverterの「Compress Image to 50KB」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
Compress JPG to 100 KB
KaijuConverterの「Compress JPG to 100 KB」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
画像切り抜き・トリミング(無料オンライン)
JPG・PNG・WEBP・AVIF画像をピクセル単位の正確なサイズやSNS比率、印刷用DPIにオンラインで無料トリミング・リサイズします。
Resize Image
KaijuConverterの「Resize Image」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
PNG圧縮(透過を保持してサイズ軽量化)
背景の透過(アルファチャンネル)を維持したままPNG画像を最大80%圧縮。20KB・50KB・100KBなどの容量指定にも対応。
WEBP圧縮(Web表示速度・Core Web Vitals最適化)
品質スライダーと容量上限指定を使ってWEBP画像をさらに高圧縮し、Webサイトの読み込み速度を高速化します。
ファビコン生成ツール(PNG/SVGからマルチサイズ.ICO作成)
1枚のロゴ画像(PNG・SVG・WEBP・JPG)から、16x16〜256x256の6サイズを内包した透過対応favicon.icoを一括生成します。
EXIF Metadata Remover
KaijuConverterの「EXIF Metadata Remover」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
Image to Text (OCR)
KaijuConverterの「Image to Text (OCR)」を無料で利用。ブラウザ上で安全・高速・高品質にファイルを処理できます。
JPG Word 変換 (OCR)
スキャンしたJPG・PNG・WEBP画像から12言語対応OCRでテキストを抽出し、編集可能なWord(DOCX)文書に変換します。
他形式から変換
XPM
主な活用シーン
X Window system icons, Unix desktop themes, embedded color bitmaps
関連フォーマット
よく見られている比較
XPM の人気変換ペア
XPM から変換する際によく選ばれている出力形式です。
XPM に関するよくある質問
よくある 質問
KaijuConverterにXPMファイルをアップロードするだけで、ソフトをインストールせずにPDF、JPG、PNGなどの標準形式へ即座に変換できます。
はい、25MBまで完全無料(24時間パスやProプランでは最大1GB)で変換でき、アップロードされたファイルは60分後にサーバーから自動削除されます。
Need to Convert Gigabyte Archives or Mass Folders?
KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.
1回限りの支払いで24時間、最大1GBのファイルおよび最大50ファイルの一括変換が利用可能です。
大容量の動画、PDF、ロスレス音声を広告なし・優先キューでブラウザから直接変換。
最大1,024 MBの高速クラウド処理、24時間暗号化保持、優先サポート。
Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.
GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.