delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/02/15:49:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A4CF684.9010308@users.sourceforge.net>
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> <4A4CF684 DOT 9010308 AT users DOT sourceforge DOT net>
Date: Thu, 2 Jul 2009 15:48:47 -0400
Message-ID: <f60fe000907021248x7262b9f6rf09e4e54d98342b1@mail.gmail.com>
Subject: Re: Best way to create Windows .ico file for Emacs?
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Thu, Jul 2, 2009 at 2:03 PM, Yaakov (Cygwin/X) wrote:
>> Perhaps this isn't actually an XPM file? =C2=A0The header looks like thi=
s:
>>
>> /* Format_version=3D1, Width=3D64, Height=3D64, Depth=3D1,
>> Valid_bits_per_item=3D16
>> =C2=A0*/
>> =C2=A0 =C2=A0 =C2=A0 =C2=A00xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000,0x0000,0x0=
000,0x0001,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A00x8000,0x0000,0x007E,0x1C01,0x8000,0x0000,0x0=
006,0x1C01,
>>

That's a Sun ICON file.  It looks like ImageMagick doesn't support
that, but PBMTools does:

$ icontopbm emacs.icon | convert - emacs.ico

--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019