Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!image.soe.clarkson.edu!news From: nelson@sun.soe.clarkson.edu (Russ Nelson) Newsgroups: alt.sources.d Subject: Re: Format of Faces - I have a face to sunrasterfile program. Message-ID: Date: 6 Aug 89 04:25:14 GMT References: <711@kl-cs.UUCP> Sender: news@sun.soe.clarkson.edu Reply-To: nelson@clutx.clarkson.edu Organization: Clarkson University, Postdam NY Lines: 56 In-reply-to: jonathan@cs.keele.ac.uk's message of 5 Aug 89 17:14:34 GMT In article <711@kl-cs.UUCP> jonathan@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@clutx [.bitnet | .clarkson.edu])|(70441.205@compuserve.com)| (Russ.Nelson@f360.n260.z1.fidonet.org)|(BH01@GEnie.com :-)