Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57245

Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo

References <eac0c7dd-b4c8-43b4-b405-e9fb0f1583e8@googlegroups.com> <8667656a-2f66-4282-a85b-37cace7a88ae@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2013-10-22 01:56 -0600
Subject Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo
Newsgroups comp.lang.python
Message-ID <mailman.1343.1382428637.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Oct 21, 2013 at 11:28 PM, Metallicow <metaliobovinus@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Animated PNG Vs Gif: 120fr 3D Python Powered Logo Metallicow <metaliobovinus@gmail.com> - 2013-10-21 00:17 -0700
  Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Metallicow <metaliobovinus@gmail.com> - 2013-10-21 22:28 -0700
    Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Terry Reedy <tjreedy@udel.edu> - 2013-10-22 02:52 -0400
    Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Ian Kelly <ian.g.kelly@gmail.com> - 2013-10-22 01:56 -0600
      Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Metallicow <metaliobovinus@gmail.com> - 2013-10-22 07:23 -0700
        Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Ian Kelly <ian.g.kelly@gmail.com> - 2013-10-22 15:15 -0600
          Re: Animated PNG Vs Gif: 120fr 3D Python Powered Logo Metallicow <metaliobovinus@gmail.com> - 2013-10-28 05:28 -0700

csiph-web