X-Face
(→Software: Added x-face-el) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|extensions={{ext|face}}, {{ext|xface}} | |extensions={{ext|face}}, {{ext|xface}} | ||
|released=~1990 | |released=~1990 | ||
+ | | spec = https://purl.org/x-face-spec | ||
}} | }} | ||
'''X-Face''' is a compressed image format that can be placed in an email or Usenet newsgroup message header. It is expected to contain the sender's picture or avatar. It is a 48×48 bi-level image. The format appears to be fairly complex, and probably uses [[arithmetic coding]]. | '''X-Face''' is a compressed image format that can be placed in an email or Usenet newsgroup message header. It is expected to contain the sender's picture or avatar. It is a 48×48 bi-level image. The format appears to be fairly complex, and probably uses [[arithmetic coding]]. | ||
Line 12: | Line 13: | ||
File extensions '''.face''' and '''.xface''' have both been suggested. Sometimes, X-Face data will be in a file named ".face" in the user's home directory. | File extensions '''.face''' and '''.xface''' have both been suggested. Sometimes, X-Face data will be in a file named ".face" in the user's home directory. | ||
− | + | Most or all X-Face code is based on James Ashton's ''Compface'' software, and Compface's code is fairly opaque. [https://purl.org/x-face-spec A specification] has been written by reverse-engineering Compface. | |
== Compface intermediate format == | == Compface intermediate format == | ||
− | The Compface software by default converts X-Face to and from | + | The Compface software by default converts X-Face to and from the [[Ikon]] format. It only supports 48×48 images with a bit depth of 1. Most implementations use 16-bit words but one implementation[http://kinzler.com/ftp/faces/compface-win/] uses 8-bit words. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Software == | == Software == | ||
Line 41: | Line 25: | ||
** [http://kinzler.com/ftp/faces/compface-win/ X-Faces for Windows 95/NT] | ** [http://kinzler.com/ftp/faces/compface-win/ X-Faces for Windows 95/NT] | ||
* [[FFmpeg]] | * [[FFmpeg]] | ||
+ | * {{Deark}} | ||
* [http://www.dairiki.org/xface/ Online X-Face Converter] | * [http://www.dairiki.org/xface/ Online X-Face Converter] | ||
+ | * [https://packages.debian.org/sid/x-face-el x-face-el] — extends the format, in a manner unsupported by other software, adding colour/greyscale pixels, animation, and larger image sizes | ||
== Samples == | == Samples == |
Latest revision as of 22:27, 28 August 2024
X-Face is a compressed image format that can be placed in an email or Usenet newsgroup message header. It is expected to contain the sender's picture or avatar. It is a 48×48 bi-level image. The format appears to be fairly complex, and probably uses arithmetic coding.
Contents |
[edit] Discussion
Although X-Face data is often expected to be stored in a file, there isn't really a standard X-Face file format. The main thing to be aware of is that sometimes the "X-Face:" header name is stored in the file, and sometimes it is not. Different software has different requirements.
File extensions .face and .xface have both been suggested. Sometimes, X-Face data will be in a file named ".face" in the user's home directory.
Most or all X-Face code is based on James Ashton's Compface software, and Compface's code is fairly opaque. A specification has been written by reverse-engineering Compface.
[edit] Compface intermediate format
The Compface software by default converts X-Face to and from the Ikon format. It only supports 48×48 images with a bit depth of 1. Most implementations use 16-bit words but one implementation[1] uses 8-bit words.
[edit] Software
- Compface
- compface-1.4.tar.gz (
uncompface -X
to convert to XBM format) - compface-1.5.2.tar.gz
- compface-25Jan90.tar.gz
- X-Faces for Windows 95/NT
- compface-1.4.tar.gz (
- FFmpeg
- Deark
- Online X-Face Converter
- x-face-el — extends the format, in a manner unsupported by other software, adding colour/greyscale pixels, animation, and larger image sizes
[edit] Samples
- https://dev.mutt.org/trac/wiki/MuttGuide/XFace - Search for "compface tao.xbm".
- WinFace1_3-src.zip → WinFace/default_face.txt
- faces man page, "XFACE SUPPORT" section, has an example.
[edit] Links
- Faces Archive - Lists some X-Face resources
- faces man page
- Wikipedia: X-Face