Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 22:29:08 -0700
From:      bmah@CA.Sandia.GOV (Bruce A. Mah)
To:        Greg Lehey <grog@lemis.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: How to create icons for xfaces? 
Message-ID:  <199807160529.WAA11695@stennis.ca.sandia.gov>
In-Reply-To: Your message of "Thu, 16 Jul 1998 13:00:02 %2B0930." <19980716130002.E23356@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-1880592744P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Greg Lehey wrote:
> I'm just playing around with xfaces now, and would like to put an
> X-Face: header in my mail.  I've looked through the man pages and got
> as far as compface, which wants an image input in C initializer
> format.  How do you get, say, a jpeg image into that format?

I bet someone can come up with a more definitive answer, but if I were to do 
this, I'd use something like xv to get an xbm file from the jpeg (probably 
with some manual massaging of the xbm afterwards).  Then, you can do:

xbmsize48 | xbm2ikon | compface

(This last according to the exmh FAQ, question #6.  As for me, someone at Bell 
Labs made my X-Face in 1994, using some combination of a Mac, an SGI Challenge 
running Plan 9, and a VAX running V10 UNIX.  Don't try this at home, kids.)

It's not clear to me if it's possible to express an image "deeper" than a 
1-bit xbm image in an X-Face header.  If you find out, please summarize...I'd 
like to believe I wouldn't look quite as ugly if I had more bits.  :-)

Bruce.




--==_Exmh_-1880592744P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBNa2Po6jOOi0j7CY9AQEPbAP/c8wxfumW5lrG8KwstUrYk+OwEYN6Qry8
Cy3vrBLND73iRIdTYjNyDf6yWX+BkRVyRkMI7O3mgw16uldQzf3P50vFigRT9YYg
sXk6PSrV0w2NkRrMxGO8Bq4ZL7K0VcSilzcrVHI5TW0QjZOIijWKyTHKvi5i8Ud+
njetelESFZU=
=Y7Y/
-----END PGP MESSAGE-----

--==_Exmh_-1880592744P--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807160529.WAA11695>