Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Romain FRANCOISE <romain@orebokech.com>
Subject: Re: New "Face:" header?
Date: Sun, 26 Jan 2003 21:10:06 +0100	[thread overview]
Message-ID: <877kcrekpt.fsf@orebokech.com> (raw)
In-Reply-To: <adhnpx9v.fsf@bitstream.com>

Peter Davis <pd@world.std.com> 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:

<URL:http://netpbm.sourceforge.net/>

> 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
<URL:http://quimby.gnus.org/circus/face/>.

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 <romain@orebokech.com> | I just thought I'd go out
it's a miracle -- http://orebokech.com/ | with a little bit more style.


  parent reply	other threads:[~2003-01-26 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <y959qgfq.fsf@bitstream.com>
2003-01-25 17:55 ` Glyn Millington
     [not found] ` <m3znpp3w1i.fsf@mandala.local>
     [not found]   ` <of64rjrn.fsf@bitstream.com>
     [not found]     ` <81d6mkkgf4.fsf@dps10.oconnoronline.net>
2003-01-26  4:17       ` Peter Davis
     [not found]         ` <81el70ij2i.fsf@dps10.oconnoronline.net>
2003-01-26  7:47           ` Robert Marshall
     [not found] ` <87bs242yyl.fsf@china.shootybangbang.com>
     [not found]   ` <adhnpx9v.fsf@bitstream.com>
2003-01-26 20:10     ` Romain FRANCOISE [this message]
2003-01-26 20:19     ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877kcrekpt.fsf@orebokech.com \
    --to=romain@orebokech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).