Pular para o conteúdo principal
🇬🇧 English 🇪🇸 Español 🇩🇪 Deutsch
Conversor de imagens Conversor de vídeo Conversor de áudio Conversor de documentos
Ferramentas Guias Formatos Preços API
Entrar
XPM file
xpm
Formato de arquivo

Sobre os arquivos XPM

X PixMap

Lançado em 1989 Por Daniel Dardailler, Colas Nahaboo

Formato pixel map para X Window System. Suporta cores e transparência. Usado em ícones de aplicativos X11/Linux legacy.

Família

Raster & Vector Images

Extensão

.xpm

Tipo MIME

image/x-xpixmap

Pode ser usado como

Entrada Saída
A história

COMO NASCEU O
FORMATO 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."

CURIOSIDADES E
FATOS INTERESSANTES.

01

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.

02

XWindow's cursor, icon, and pixmap resources used XPM throughout the 1990s — every X11 app shipped with dozens of .xpm files.

03

XPM was one of the first image formats to support transparency via a dedicated "None" color value.

04

You can write an XPM icon in a plain text editor by typing character art — one of the few image formats with that property.

05

Modern GTK and Qt have largely replaced XPM with PNG and SVG, but system-level X11 still carries XPM traces.

VANTAGENS E
LIMITAÇÕES.

Vantagens

  • Valid C source — directly embeddable in code.
  • Text-editable in any editor.
  • Transparency via "None" color value.
  • Stable since 1989 with no breaking changes.

Limitações

  • 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.

Tamanhos típicos de arquivo

Small icon (32×32, 16 colors)

2-5 KB

Toolbar button set

10-50 KB

Especificações técnicas

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)

CONVERTER A PARTIR DE
XPM

Casos de uso comuns

X Window system icons, Unix desktop themes, embedded color bitmaps

Formatos relacionados

Comparativos populares

Conversões populares de XPM

Os destinos mais procurados ao converter arquivos XPM.

Perguntas frequentes sobre XPM

Perguntas frequentes

XPM (X PixMap) is an image formato used to store raster graphics — a two-dimensional grid of pixels describing a picture. It is part of the raster & vector images family e designed around a specific trade-off between tamanho do arquivo, visual fidelity, e feature support (transparency, colour depth, compressão type). Photographers, web designers, e content creators choose XPM when its particular strengths match the publishing target.

Most desktop photo viewers (Windows Photos, macOS Preview, GIMP, Photoshop, Affinity Photo) abrir XPM natively. On mobile, iOS Photos e Google Photos display XPM no gallery when suportado por the OS. If the formato is rare ou new, converter to JPG ou PNG first — both are universally readable — usando our XPM to JPG ou XPM to PNG converter.

Upload the XPM to KaijuConverter e pick a target formato (JPG, PNG, WebP, HEIC, TIFF, BMP, SVG, PDF). The conversion runs in o navegador via ImageMagick e returns a baixar in seconds. No account ou installation required; both input e output delete automatically within two hours.

Depende de the task. JPG is the smallest tamanho do arquivo para photographs; PNG is sem perdas com transparência; XPM has its own niche that may favour colour depth, animation, ou codificação efficiency over one ou both of those. para the final web publish, test all three e measure tamanho do arquivo plus visible quality on real content.

Usamos cookies e tecnologias similares para personalizar conteúdo e anúncios, e para analisar o tráfego. Mais informações sobre cookies.