This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Best way to create Windows .ico file for Emacs?


On 02/07/2009 12:53, KARR, DAVID (ATTCINW) wrote:
Perhaps this isn't actually an XPM file? The header looks like this:

/* Format_version=1, Width=64, Height=64, Depth=1,
Valid_bits_per_item=16
  */
	0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0001,
	0x8000,0x0000,0x007E,0x1C01,0x8000,0x0000,0x0006,0x1C01,


No, that's definitely not an XPM. I would search the sources and see how this is used; I suspect this is #include'd somewhere.


However, emacs includes emacs.png's and emacs.svg which are installed into the hicolor-icon-theme. Why not use those? You have two options:

1) Use convert(1) for a 1->1 conversion.

2) In Ports, png2ico(1) allows embedding multiple images (e.g. different sizes) into an ICO.


Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]