This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Best way to create Windows .ico file for Emacs?
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf Of Yaakov (Cygwin/X)
> Sent: Thursday, July 02, 2009 10:41 AM
> To: cygwin@cygwin.com
> Subject: Re: Best way to create Windows .ico file for Emacs?
>
> 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.
>
> 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=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,
--
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