Format of Faces - I have a face to sunrasterfile program.

Russ Nelson nelson at sun.soe.clarkson.edu
Sun Aug 6 14:25:14 AEST 1989


In article <711 at kl-cs.UUCP> jonathan at cs.keele.ac.uk (Jonathan Knight) writes:

     Is there a definitive definition of the face format?
   I have a program that converts from face to sunrasterfile based on
   what I could guess from some of the files that I got from uunet.  I
   wondered whether there was a list of all the header lines and
   suggested uses.
The one on uunet is appended, however the answer to your question is no.
I asked Lou if he would give suggested headers, but he declined saying:

   Sure.  The format is now openended ...

And I replied:

I understand that.  However, there should be only one name for a
particular header.  For example, Office: could also be named
Location:, or RoomNumber: and Extension: could also be named
WorkPhone:, BusinessPhone:, or OfficePhone:.  I would rather have you
add Office: and Extension: to the file that documents the format so that
if the user adds them, they will be added with a consistent name.

   I am a little confused over the picdata: and imagedata: lines
   as I couldn't see a use for both of them.  I just used the
   picdata: line to decode the image, but wasn't sure what I was
   supposed to do with the imagedata: line.

Image: gives the aspect ratio.

   Is their any restriction on the sizes of the image?  Most seem to
   be 108 x 128 pixels max but all say the image is 96 x 128.

There is no restriction on the sizes of the image.  Most of the pictures
I took are about 100x100, but that's a rough measurement.

uunet.uu.net:/faces/format follows:

Format is now
	FirstName:
	LastName:
	E-mail:
	PicData:         Actual data:  width - height - bits/pixel
	Image:           Should be transformed to: width - height - bits/pixel
	(Blank line)
	Hexified picture

NOTE: The order of the headers is not guaranteed and additional headers
will probably be added. If you want to parse the headers, use the
Keywords. That's what they are there for.

C program to postscriptem follows

[deleted]
--
--russ (nelson at clutx [.bitnet | .clarkson.edu])|(70441.205 at compuserve.com)|
       (Russ.Nelson at f360.n260.z1.fidonet.org)|(BH01 at GEnie.com :-)



More information about the Alt.sources.d mailing list