| 1 |
Compface - 48x48x1 image compression and decompression |
| 2 |
Copyright (c) James Ashton 1990. |
| 3 |
Written 89/11/11 |
| 4 |
|
| 5 |
Feel free to distribute this source at will so long as the above |
| 6 |
message and this message are included in full. |
| 7 |
|
| 8 |
[I have put MIT in the License field of the LSM descriptions since this |
| 9 |
seems to capture the original author's intent most closely, bearing in |
| 10 |
mind that he wrote this before the various free software licenses were |
| 11 |
categorised. - Ken] |
| 12 |
|
| 13 |
The programme (two programmes really - but they're just links to each |
| 14 |
other) converts 48x48x1 images to and from a compressed format. The |
| 15 |
uncompressed images are expected to contain 48x48/4 (576) hex digits. |
| 16 |
All other characters and any `0's followed by `X' or `x' are ignored. |
| 17 |
Usually the files are 48 lines of "0x%04X,0x%04X,0x%04X,". The |
| 18 |
compressed images contain some number of printable characters. Non |
| 19 |
printable characters, including ` ' are ignored. The purpose of the |
| 20 |
programme is to allow the inclusion of face images within mail headers |
| 21 |
using the field name `X-face: '. |
| 22 |
|
| 23 |
The programmes make use of a library which can be used to allow the |
| 24 |
compression and decompression algorithms to be used in other |
| 25 |
programmes such as mail despatchers and mail notification daemons. |
| 26 |
|
| 27 |
A small amount of editing in the Makefile may be required to get it |
| 28 |
going - mainly setting EXECUTABLE to what you want and putting the |
| 29 |
manual entry in the right place. |
| 30 |
|
| 31 |
James Ashton. |
| 32 |
[email protected] |
| 33 |
|
| 34 |
1999-06-18 |
| 35 |
|
| 36 |
I have merged the -X patch by Piete Brooks <[email protected]> |
| 37 |
into the sources and amended the man page. I have given this the |
| 38 |
version number 1.1 so that it can be submitted to freshmeat.net and |
| 39 |
metalabs.unc.edu. |
| 40 |
|
| 41 |
Ken Yap |
| 42 |
[email protected] |
| 43 |
|
| 44 |
2000-11-22 |
| 45 |
|
| 46 |
Added support for strerror(). Incremented version to 1.4 |
| 47 |
|
| 48 |
2004-12-23 Ben Wing <[email protected]> |
| 49 |
|
| 50 |
Added config.h; added makefile.vc for compiling under Windows; |
| 51 |
added Stig's script xbm2xface.pl for generating xfaces; fixed |
| 52 |
various compile problems. Incremented version to 1.5. |