Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; '"as': 0.07; '21,': 0.07; '0.02': 0.09; '0.1': 0.09; 'second.': 0.09; 'python': 0.11; '(other': 0.16; '0.01': 0.16; '0.06': 0.16; 'browsers.': 0.16; 'removed,': 0.16; 'sec': 0.16; 'seconds.': 0.16; 'url:post': 0.16; 'wrote:': 0.18; 'alternate': 0.24; 'browsers': 0.24; 'subject:Logo': 0.24; 'fine': 0.24; 'mon,': 0.24; 'versions': 0.24; 'header:In-Reply-To:1': 0.27; '[1]': 0.29; 'message-id:@mail.gmail.com': 0.30; '"do': 0.31; 'option.': 0.31; 'second,': 0.31; 'entirely': 0.33; 'display': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'animation': 0.36; 'done': 0.36; 'minimum': 0.38; 'displays': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'according': 0.40; 'most': 0.60; 'first': 0.61; 'linked': 0.65; 'here': 0.66; 'benefit': 0.68; 'url:png': 0.68; 'default': 0.69; 'increase': 0.74; 'url:gif': 0.82; 'go...': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=VxtIfS/hJkNjfkhNHorPuMjJxtvWB/bg3K+qRazo9MI=; b=HN0csc1XI00Le93I+HBGkvkJ9NB0xDYu0MsVcH13Tr2I3LzIWxewVieTPpcUXXBEby sWFACcfHwbiOEgBSlVX0lYlejZDu2V5QR/BjqrlW2qc4rqrM4BSrSK7tTrPGT/XCA+q8 tynJN/tQ5bWrpmwLpjvSOrULBwVR0jnY9HZGNjOpzco3ah7Xyl0YUKkW54I2126fCYDm kiYdTYygMRZYlYeMF0Iec+GdUIv3S7w8qeu3mJkq0VHchvTiXaRN4ij1xcTBlhGo3LsE AyuiCewarueun26feSyC75J7te9ObbLpfYLxG3ZkDUXYq+oyrORmnURTjqMTY3eeVxj1 IcFQ== X-Received: by 10.66.159.193 with SMTP id xe1mr5773564pab.166.1382428633168; Tue, 22 Oct 2013 00:57:13 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <8667656a-2f66-4282-a85b-37cace7a88ae@googlegroups.com> References: <8667656a-2f66-4282-a85b-37cace7a88ae@googlegroups.com> From: Ian Kelly Date: Tue, 22 Oct 2013 01:56:33 -0600 Subject: Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382428637 news.xs4all.nl 15980 [2001:888:2000:d::a6]:42652 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57245 On Mon, Oct 21, 2013 at 11:28 PM, Metallicow wrote: > Here is links to the apng/gif on ImageShack uploaded with the "Do Not Resize" option. > Checked/Views fine with default Firefox/Opera browsers. > > Animated 3D Python Powered Logo > apng - 120frames 1/60 sec > http://img34.imageshack.us/img34/4717/f4l4.png > > gif - 120frames about 1/10sec or as fast as it can go... > http://img35.imageshack.us/img35/4231/j29.gif This is not entirely true. The minimum specifiable delay for a frame in an animated gif (other than 0, which just means "as fast as possible") is 0.01 second, which is the setting in the gif linked above. However, most browsers that encounter this will automatically increase the delay to 0.1 second. This is done for compatibility with old versions of Netscape. According to [1], Firefox, Opera and Chrome will accurately display delays as small as 0.02 seconds. Safari and IE will accurately display delays as small as 0.06 seconds. Here is an alternate version of the above gif that displays the animation at 50 fps in the first three browsers listed above: http://i216.photobucket.com/albums/cc41/Peristarkawan/j29-2.gif And here it is at 17 fps with 2/3 of the frames removed, for the benefit of IE and Safari: http://i216.photobucket.com/albums/cc41/Peristarkawan/j29-6.gif [1] http://nullsleep.tumblr.com/post/16524517190/animated-gif-minimum-frame-delay-browser-compatibility