X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A4CF684.9010308@users.sourceforge.net> Date: Thu, 02 Jul 2009 13:03:48 -0500 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Best way to create Windows .ico file for Emacs? References: <4A4CF13C DOT 7070807 AT users DOT sourceforge DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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