Gnus development mailing list
 help / color / mirror / Atom feed
From: Torsten Hilbrich <gnus@myrkr.in-berlin.de>
Subject: Question regarding the new multiplaned x-face
Date: Sat, 12 Jan 2002 20:27:42 +0000 (UTC)	[thread overview]
Message-ID: <a1q67u$7rh$1@myrkr.in-berlin.de> (raw)

I have tested the new x-face support using commands like the
following code:

  ;; With higher depth, unfortunatly the compability is not good
  (defun th-insert-xface ()
     (gnus-convert-image-to-gray-x-face
      (expand-file-name "~/.emacs.d/ich.gif") 3))

  (add-hook 'message-header-hook
            'th-insert-xface)

The problem is, the X-Face part is IMO too ugly to be used for older
readers supporting only that header.  In the example I tried all white
pixel in the original picture are drawn black basicly inverting the
image.

It would be nice if the X-Face part would be the same as the old
bitmap one and the additional planes are used to improve the picture.
Or is the code supposed to do this and I'm doing something wrong.

I tried a grayscale gif picture (using the full color map) and a user
defined color map with 8 entries (bit depth set to 3).

        Torsten

BTW: I have inserted the new x-face as a demonstration of my problem.
Just invoke '{ echo '/* Width=48, Height=48 */'; uncompface; } |
icontopbm | display -' and paste the X-Face header contents to see the
"inverted" image.




             reply	other threads:[~2002-01-12 20:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-12 20:27 Torsten Hilbrich [this message]
2002-01-14  5:31 ` Wes Hardaker
2002-01-14 12:11   ` Steve Youngs
2002-01-14 18:23     ` Wes Hardaker
2002-01-14 20:19       ` Steve Youngs
2002-01-14 21:19         ` Wes Hardaker
2002-01-14 21:20         ` Russ Allbery
2002-01-15  2:53         ` Andrew J Cosgriff
2002-01-15 10:52       ` Per Abrahamsen
2002-01-25 16:12         ` Wes Hardaker
2002-01-19 22:08 ` Lars Magne Ingebrigtsen
2002-01-20 14:18   ` Oystein Viggen
2002-01-20 15:53     ` Lars Magne Ingebrigtsen
2002-01-21  2:01       ` Daniel Pittman

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='a1q67u$7rh$1@myrkr.in-berlin.de' \
    --to=gnus@myrkr.in-berlin.de \
    /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).