delorie.com/archives/browse.cgi | search |
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)" <yselkowitz AT users DOT sourceforge DOT net> |
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: | <E0529A8FFC2C9143A5F1BB9A89101D060617347C AT BD01MSXMB018 DOT US DOT Cingular DOT Net> <4A4CF13C DOT 7070807 AT users DOT sourceforge DOT net> <E0529A8FFC2C9143A5F1BB9A89101D060617349F AT BD01MSXMB018 DOT US DOT Cingular DOT Net> |
In-Reply-To: | <E0529A8FFC2C9143A5F1BB9A89101D060617349F@BD01MSXMB018.US.Cingular.Net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |