From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16974 invoked by alias); 27 Jul 2011 07:42:29 -0000 Received: (qmail 16870 invoked by uid 22791); 27 Jul 2011 07:42:04 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Wed, 27 Jul 2011 07:41:46 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 67B552CB3E6; Wed, 27 Jul 2011 09:41:43 +0200 (CEST) Date: Wed, 27 Jul 2011 07:42:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: 256x256 px icons Message-ID: <20110727074143.GV29727@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20110725091106.GN29727@calimero.vinschen.de> <4E2E05DD.40101@cwilson.fastmail.fm> <4E2E0847.3060004@cwilson.fastmail.fm> <20110726110134.GU29727@calimero.vinschen.de> <4E2EB916.6000501@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E2EB916.6000501@etr-usa.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-07/txt/msg00140.txt.bz2 On Jul 26 06:54, Warren Young wrote: > On 7/26/2011 5:01 AM, Corinna Vinschen wrote: > > > >This discussion reminds me of the new icon format in Vista, which > >support icons of up to 256x256 bytes in PNG format. > > Pixels, not bytes, unless you were thinking about 8 bpp paletted images. Right, pixels. > I don't see -- in the almost nonexistent docs -- that windres > actually supports PNG icons. windres.exe isn't linked to > cygpng*.dll on my system, so if it does support PNG icons, it must > do so only by blindly copying the PNG data into the COFF file. I think it does. In the setup sources is a cygwin.ico file and these two lines in the resource file: IDI_CYGWIN ICON DISCARDABLE "cygwin.ico" CYGWIN.ICON FILE DISCARDABLE "cygwin.ico" That doesn't look like windres cares for the actual format of the file. > >Is that something we should add, too? > > The only time I've found where I can tell that a program has a > high-res icon is by looking at the blue info bar at the bottom of > Explorer windows. A little poking around suggests that at least > 64x64 is useful with the default bar size. You can resize it to > make Explorer use a larger icon, if available, but I doubt many ever > do that. > > For XP support, we still need to ship 32x32 and 48x48 pixel icons. I just had a look into the cygwin.ico file using gimp, and it appears that the file has three icons, 32x32, 64x64 and 72x72. http://msdn.microsoft.com/en-us/library/aa511280.aspx#size says the default sizes are 16x16, 24x24, 32x32, 48x48, and 256x256. You say you already have created such icon files before. Would you have fun to create a new "official" cygwin.ico? The only problem to look out for is licensing. If you use foreign art, you have to make sure that the icon is published under a free license. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat