Gnus development mailing list
 help / color / mirror / Atom feed
* X-Face and icontopbm
@ 2011-12-02  4:00 Katsumi Yamaoka
  0 siblings, 0 replies; only message in thread
From: Katsumi Yamaoka @ 2011-12-02  4:00 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-02  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-02  4:00 X-Face and icontopbm Katsumi Yamaoka

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).