X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-VirusChecked: Checked X-Env-Sender: dk068x AT att DOT com X-Msg-Ref: server-10.tower-146.messagelabs.com!1246557217!3672323!1 X-StarScan-Version: 6.0.0; banners=-,-,- Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Best way to create Windows .ico file for Emacs? Date: Thu, 2 Jul 2009 10:53:30 -0700 Message-ID: In-Reply-To: <4A4CF13C.7070807@users.sourceforge.net> References: <4A4CF13C DOT 7070807 AT users DOT sourceforge DOT net> From: "KARR, DAVID (ATTCINW)" To: "Yaakov (Cygwin/X)" , X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > -----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