Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: X-Face and icontopbm
Date: Fri, 02 Dec 2011 13:00:33 +0900	[thread overview]
Message-ID: <b4mborr62se.fsf@jpl.org> (raw)

Hi,

In the Gnus trunk and the Emacs trunk, I updated a header format
that Gnus passes to the icontopbm program when displaying X-Face.

That was:
/* Width=48, Height=48 */

Now it is the same as what pbmtoicon returns:

$ pbmmake 48 48| pbmtoicon| head -2
/* Format_version=1, Width=48, Height=48, Depth=1, Valid_bits_per_item=16
 */

The most recent icontopbm[1] requires it:

$ icontopbm --version
icontopbm: Using libnetpbm from Netpbm Version: Netpbm 10.54.4
icontopbm: Compiled Sun, Jun 19, 2011 17:09:54 by user "Yaakov"
icontopbm: BSD defined
icontopbm: RGB_ENV='RGBDEF'
icontopbm: RGBENV= 'RGBDEF' (env vbl is unset)

$ echo '/* Width=1, Height=1 */ 0x0000'| icontopbm
icontopbm: invalid sun icon file header: only 2 out of required 5 fields present

$ echo '/* Format_version=1, Width=1, Height=1, Depth=1, Valid_bits_per_item=16 */ 0x0000'| icontopbm
P4
1 1

I verified that's also ok for old ones (tested with Netpbm 10.35.58
of June 1 2009, and 10.47.25 of January 18 2011).

Recently I updated Cygwin on the office PC and noticed this.

[1] http://netpbm.sourceforge.net/doc/icontopbm.html



                 reply	other threads:[~2011-12-02  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=b4mborr62se.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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).