Mail Archives: cygwin/2009/07/02/13:53:56
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
> Behalf Of Yaakov (Cygwin/X)
> Sent: Thursday, July 02, 2009 10:41 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: Best way to create Windows .ico file for Emacs?
>=20
> On 02/07/2009 12:20, KARR, DAVID (ATTCINW) wrote:
> > I'm sure this is a FAQ, but I've spent several minutes searching
> > resources for the proper way to do this, but I just can't find it.
> >
> > I have Cygwin Emacs 23.0.92 installed, which includes the
> "emacs.icon"
> > file, which I believe is an XPM file. I need to create a Windows
ICO
> > file. Searching the net, I find 8 zillion tools for image
> conversion,
> > including many that provide the path that I need (xpm->ico), but
what
> > I'm wondering is if there's a tool already installed (or available)
> with
> > Cygwin that can do this. I looked through the ImageMagick man page
> and
> > didn't see it, which was the only obvious thing I knew to look at.
>=20
> convert xpm:emacs.icon ico:emacs.ico
Hmm, it says "convert: Improper image header `emacs.icon'.
convert: missing an image filename `ico:emacs.ico'."
Perhaps this isn't actually an XPM file? The header looks like this:
/* Format_version=3D1, Width=3D64, Height=3D64, Depth=3D1,
Valid_bits_per_item=3D16
*/
0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0001,
0x8000,0x0000,0x007E,0x1C01,0x8000,0x0000,0x0006,0x1C01,
--
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
- Raw text -