From: Romain FRANCOISE Newsgroups: gnu.emacs.gnus Subject: Re: New "Face:" header? Date: Sun, 26 Jan 2003 21:10:06 +0100 Organization: orebokech dot com Lines: 42 Message-ID: <877kcrekpt.fsf@orebokech.com> References: <87bs242yyl.fsf@china.shootybangbang.com> NNTP-Posting-Host: j446-b.resj.insa-lyon.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: demo2.univ-lyon1.fr 1043611886 27578 134.214.166.176 (26 Jan 2003 20:11:26 GMT) X-Complaints-To: abuse@univ-lyon1.fr NNTP-Posting-Date: 26 Jan 2003 20:11:26 GMT Mail-Copies-To: nobody Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEU5Kh1GMCV8eXQNCwdX SD8rJx3g7Oy5vr0QGRcrGxAPMhoBAAACbklEQVR4nGXUwWrcMBAG4DFkob7ZQQvtsUKJejeF 3aONQnL0kgrsY02wzzWJ/QAh4N4cFkH1tv1HtjeUCvay345nNDNeesyyzHtfClNIPuM4Dm3b NgQ4nrODE8b8B/6cZYfTvxHPAfC0bFpFL/ASwDMdLzEMNyvgnF20yQZH76bp9ciVSam4iLG9 oyo7Zt/94fEw/Z4RovI0TUVxWzH42vvq8Gb9jJoZSqEnqgPMuyn6Uc+iMOEUK8SeUpHvv8yF VMnueFXokcH7naXI5PvaX49qt7cnoZsFTmWUGrO377pXJrfS6OaNLCBK8X1ua6F7Y5QZe/1c MTjihImrxQDgpvQvFe04gstM4vl6aCQEfRSKaAWTeCqGblR87+bzRPS6RqDmAk0KrXr6BHi8 wPs9oJd6aPsKsHcLwDWg69H2BpDu8U1I4a8C8KB+BnAzQwy4BYQBvkwhooz4STMJAOoC3H1A 4uMAPL22qxhQfyS42AV44E+WIUcElEFzCsCvN4DYAPPb4OsKNkqJ9wTNHSQe1S2QoLtJzBEG d+YcTc6ARXBEziJA8a/x6QPgp64kojK6V+0CaoU/rkxpJrqXbTiduVvgzHD28zUn5v5+AIWq IrmEPG+AuyUUe16U225sO/UBnHwW2HNsGlJssPPOQoTUbV9g3peI0ltbopHYG3SkkxvMFDtv CTuHNcD8LlAiMbcLglXDsm2Ax+PyEb/nDEMnzcMGsef3T/cM6KG6AOoquagxQNs/TCugxVYU YUwM3c0F4hpvLE9j/b+oFkgislaE/R/WPwwAhoFSE8vZtV5jxm8ToRt8h6QUBXe3G8Ppq79B Pm8I2clBOAAAAABJRU5ErkJggg== User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:FcAzM2oDcM+TFSoSBYzNArpOCMw= Peter Davis writes: >> If you haven't frobbed `gnus-convert-image-to-face-command', I think >> you will need the djpeg, ppmnorm, pnmscale, ppmquant, and pnmtopng >> programs. Do you have them ? > I'm on a Windows system. Do you know if these tools exist for > Windows? Some of these programs apparently exist for Windows here: > Is there some other alternative? You can create it directly with a good image manipulation program and Emacs, but the resulting image won't look very nice because reducing the color palette isn't as good as using the ppmquant program... If you want to try anyway, follow these steps: Take a 48x48 PNG image. In your favorite image manipulation program, modify the PNG so that it contains 12 colors or less; the resulting image must be smaller than 740 bytes (otherwise your header would be too long). In The Gimp, you can do it with Image > Mode > Indexed. (Maybe there's a way to do quantization as well?) Once you have a small enough PNG image, open it in Emacs using `find-file-literally', select the whole buffer (`C-x h'), and call `base64-encode-region'. And the result is your Face header. Be careful, it must be less than 998 characters with the "Face: " put in front, and the lines mustn't exceed 79 chars. The detailed specs are at . Another alternative would be to upload your image somewhere, post the URL here and ask someone with access to a GNU system to create the header for you... Cheers, -- Romain FRANCOISE | I just thought I'd go out it's a miracle -- http://orebokech.com/ | with a little bit more style.