XBM
From Just Solve the File Format Problem
(Difference between revisions)
Dexvertbot (Talk | contribs) m (→Sample files) |
|||
(15 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Graphics | |subcat=Graphics | ||
− | |extensions={{ext|xbm}} {{ext|bm}} | + | |extensions={{ext|xbm}}, {{ext|bm}} |
− | |pronom={{PRONOM|x-fmt/207}} | + | |mimetypes={{mimetype|image/x-xbitmap}} |
+ | |pronom={{PRONOM|x-fmt/207}}, {{PRONOM|x-fmt/299}} | ||
}} | }} | ||
− | '''XBM''' ('''X BitMap''') is a file format for bi-level raster images. It was | + | '''XBM''' ('''X BitMap''') is a file format for bi-level raster images, originally associated with the X Window System. It was, and to some extent still is, widely supported by graphics software. |
An XBM file is plain text, and doubles as a fragment of [[C]] programming code. The format is very inefficient in size, but it can be useful as a simple way to embed an image into a C program. | An XBM file is plain text, and doubles as a fragment of [[C]] programming code. The format is very inefficient in size, but it can be useful as a simple way to embed an image into a C program. | ||
Line 11: | Line 12: | ||
== See also == | == See also == | ||
* [[XPM]] | * [[XPM]] | ||
+ | |||
+ | == Specifications == | ||
+ | * [http://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Manipulating_Bitmaps Manipulating Bitmaps] section of [http://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html Xlib - C Language X Interface: X Consortium Standard] | ||
+ | |||
+ | == Software == | ||
+ | * [[X Window System]]: [http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/RdBitF.c XReadBitmapFile] & [http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/WrBitF.c XWriteBitmapFile] in [http://cgit.freedesktop.org/xorg/lib/libX11 libX11] | ||
+ | * [[Netpbm]]: pbmtoxbm, xbmtopbm | ||
+ | * [[ImageMagick]] | ||
+ | * [[Konvertor]] | ||
+ | * [[XnView]] | ||
+ | * [[FFmpeg]] | ||
+ | * [[GIMP]] | ||
+ | * [[Tom's Viewer]] | ||
+ | * [http://snisurset.net/code/abydos/ abydos] | ||
== Sample files == | == Sample files == | ||
* http://www.fileformat.info/format/xbm/sample/index.htm | * http://www.fileformat.info/format/xbm/sample/index.htm | ||
− | * http:// | + | * http://ftp.x.org/pub/individual/data/xbitmaps-1.1.1.tar.gz |
+ | * http://cd.textfiles.com/blackcrawling/ICONS/ | ||
+ | * {{DexvertSamples|image/xbm}} | ||
− | == | + | == Links == |
+ | * {{EGFF|xbm|XBM File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]] | ||
* [[Wikipedia:X BitMap|Wikipedia article]] | * [[Wikipedia:X BitMap|Wikipedia article]] | ||
+ | * [https://github.com/corkami/pics/blob/master/binary/XBM.png Image describing XBM format] | ||
+ | |||
+ | [[Category:X Window System]] |
Latest revision as of 03:27, 28 December 2023
XBM (X BitMap) is a file format for bi-level raster images, originally associated with the X Window System. It was, and to some extent still is, widely supported by graphics software.
An XBM file is plain text, and doubles as a fragment of C programming code. The format is very inefficient in size, but it can be useful as a simple way to embed an image into a C program.
Contents |
[edit] See also
[edit] Specifications
[edit] Software
- X Window System: XReadBitmapFile & XWriteBitmapFile in libX11
- Netpbm: pbmtoxbm, xbmtopbm
- ImageMagick
- Konvertor
- XnView
- FFmpeg
- GIMP
- Tom's Viewer
- abydos
[edit] Sample files
- http://www.fileformat.info/format/xbm/sample/index.htm
- http://ftp.x.org/pub/individual/data/xbitmaps-1.1.1.tar.gz
- http://cd.textfiles.com/blackcrawling/ICONS/
- dexvert samples — image/xbm