From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31018 invoked by alias); 19 Aug 2011 22:23:35 -0000 Received: (qmail 31004 invoked by uid 22791); 19 Aug 2011 22:23:34 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_BP X-Spam-Check-By: sourceware.org Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Aug 2011 22:23:13 +0000 Received: (qmail 62044 invoked by uid 13447); 19 Aug 2011 22:23:13 -0000 Received: from unknown (HELO [172.20.0.42]) ([71.33.35.67]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with SMTP for ; 19 Aug 2011 22:23:13 -0000 Message-ID: <4E4EE245.1080704@etr-usa.com> Date: Fri, 19 Aug 2011 22:23:00 -0000 From: Warren Young User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: setup.exe opening page graphic References: <20110811103856.GC24478@calimero.vinschen.de> <4E44444A.2080700@etr-usa.com> <20110812065957.GH16226@calimero.vinschen.de> <4E495CD1.3020908@etr-usa.com> <4E498B18.3030405@etr-usa.com> <20110816083536.GH25129@calimero.vinschen.de> <4E4AC4C2.5010307@etr-usa.com> <20110817154643.GE27614@calimero.vinschen.de> <4E4D7F19.9000707@etr-usa.com> <20110819153959.GA13266@calimero.vinschen.de> In-Reply-To: <20110819153959.GA13266@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-08/txt/msg00212.txt.bz2 On 8/19/2011 9:39 AM, Corinna Vinschen wrote: >> On Aug 18 15:07, Warren Young wrote: > Cool! Here's how it looks like in the setup dialog: > > http://cygwin.de/cygwin-splash.png The faux motion blur should taper to match the logo's expansion. Going straight down as it does now is optically incorrect. I will fix this on future treated stills. >> I can do the same for the animation, too. > > I have not the faintest idea how to include an animation in a standard > MFC dialog. Does MFC grok animated gif's in icon files? setup.exe doesn't use MFC. It's a straight-to-the-API program. MFC is a Visual C++ Professional feature. You don't want to use GIF. It would more than double the current size of setup.exe, and it looks horrid besides: http://etr-usa.com/cygwin/logo/from-box/animation.gif Knocking out the background will lower the size and remove some of the color artifacts, but it'll still be too big and too ugly. PNG frames animated using a 66 ms SetTimer() won't work, either. It adds 340 KB to setup.exe, and then only if Windows' built-in PNG decoder can handle transparency. Given that IE6 doesn't do PNG transparency correctly and it's contemporaneous with XP, I think you'd end up statically linking setup.exe to libpng to fix this, again roughly doubling setup.exe's size. Shipping BMPs is a complete no-go. 15 RGBA frames cost 2.3 MB. IMHO, the right way is to use DirectShow along with a proper video codec. XP shipped with WMV7 and MPEG-2 decoders, which get the animation down to about 60 KB: http://etr-usa.com/cygwin/logo/from-box/animation.asf http://etr-usa.com/cygwin/logo/from-box/animation.m2v It looks like w32api might have the definitions needed for this. I see w32api/dvdmedia.h, for setting up an MPEG-2 decode, for instance. These links may be of some help: http://msdn.microsoft.com/en-us/library/dd375468%28VS.85%29.aspx http://stackoverflow.com/questions/530998/ I realize that DirectShow is a bit of a bear to set up, but keep in mind the space savings. Ignoring the SHTDI problem, the only way DirectShow isn't a net win is if it costs hundreds of KB of compiled code to set up. There's no way that's true. > Apart from that, I really like the still and I would be content with > it... except... the C jumping out of the box doesn't have this beveled > look, like all other icons have now :} I can bevel it, but I hope you aren't expecting the exact same look. The 3D render is made in a photo-realistic studio environment, which is going to give a much different result than Photoshop's highly idealized 2D bevel filter. Do you want me to try to match the look, or were you just hoping to see highlights and bent studio light reflections so that the animation suggests the logo has the same shape as in the 2D art?