Article View: news.software.readers
Article #47261Re: Read X-Face by Hammer and Chisel (was: Re: X-Face)
From: Jeroen Scheerder
Date: Sat, 13 Mar 1999 00:00
Date: Sat, 13 Mar 1999 00:00
32 lines
2266 bytes
2266 bytes
Mike Uhl <ShoeLeather_Express@RadioLink.net>: > As I (mis)understand it, to see the image, all I have to do is decode > it back to a binary image and feed it to a viewer that can display > that format. Not even that. Yes, you have to decode it, and feed it to a viewer (or use a mailer/newsreader that displays it, of course). You don't even need a graphics display to see X-Faces; they can easily be displayed as ascii artwork as well. See <http://www.xs4all.nl/%7Ejs/warez/xface2text> for an example. > I guess my biggest problem is trying to decode it. Once I have done > that, viewing would be no problem. They're 48x48x1 images. You can use `uncompface' to decode an X-Face into a file containing "48 lines each of 3 sixteen bit hexadecimal integers, comma terminated in C initialiser style", as the uncompface man page has it. Anyway, those 48 lines, each containing 3 16-bits ints, each represent a line in the face icon, in the trivial way: a set bit (in the 3*16 == 48 bits) indicates a set pixel. -- J$ -- dash dash space this is my .sig it's not so .big
Technical Details
Message-ID:
<1dolnts.mbmenx1ebk2ezN@medusa.cwi.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<080319991553580646%silly@well.com> <NOSPAM-0903991920160001@1dyn90.utr.casema.net> <090319991142595069%silly@well.com> <1doeu87.3xeb1k1qtj4x0N@roxboro0-0006.dyn.interpath.net> <rjlnh5r0uk.fsf@my.dina.kvl.dk> <Mike.Uhl.1999031215414020@ShoeLeather.Express>Show Full Headers
Complete Article Headers
Message-ID: <1dolnts.mbmenx1ebk2ezN@medusa.cwi.nl> Subject: Re: Read X-Face by Hammer and Chisel (was: Re: X-Face) Date: Sat, 13 Mar 1999 00:00:00 +0000 From: js@cwi.nl (Jeroen Scheerder) References: <080319991553580646%silly@well.com> <NOSPAM-0903991920160001@1dyn90.utr.casema.net> <090319991142595069%silly@well.com> <1doeu87.3xeb1k1qtj4x0N@roxboro0-0006.dyn.interpath.net> <rjlnh5r0uk.fsf@my.dina.kvl.dk> <Mike.Uhl.1999031215414020@ShoeLeather.Express> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 454492908 X-NNTP-Posting-Host: 13dyn115.utr.casema.net [212.64.36.115] Sender: js@13dyn115.utr.casema.net Mail-Copies-To: nobody X-XS4ALL-Date: Sat, 13 Mar 1999 10:21:23 CET X-XS4ALL-User: js X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R Organization: Al-Munqidh min-al-Dalaal User-Agent: MacSOUP/2.4 Newsgroups: news.software.readers