Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Animating with GD?

    Is it possible to create GIF animations using GD?

    //Simon
    Simon Fredriksson Guest

  2. Similar Questions and Discussions

    1. Animating Characters
      Any body using transformation of bones for character animation in shockwave ? Also anybody using facial morphs in Shockwave 3D ? :confused;
    2. animating camera
      how to animate camera progressively from one position to another?,just like the lodge demo in www.candomultimedia.com
    3. animating saturation
      New to Flash = bear with me I'm trying to create a script that will change an RGB color to 50% grey. In other words, I'd like to move a (R,G,B)...
    4. [PHP] Animating with GD?
      > >Not anymore due to the Unisys LZW patent issues.. GD has no support for There are NO patent for software in France (so we could use gif...
    5. Animating Backdrops
      Hello. I'm currently attempting to animate backdrops. I am successful however the whole concept truly kills my cpu usage and slows down the...
  3. #2

    Default Re: Animating with GD?

    Not anymore due to the Unisys LZW patent issues.. GD has no support for
    GIF file anymore.
    Wait until next june.. Then you can create animated GIF files with GD
    (Unisys' patent expires).

    On Wed, 27 Aug 2003 21:35:43 +0200, Simon Fredriksson wrote:
    > Is it possible to create GIF animations using GD?
    >
    > //Simon
    Edward Rudd Guest

  4. #3

    Default Re: [PHP] Re: Animating with GD?

    Ashley M. Kirchner wrote:
    > That patent already expired for the US (June 30, 2003). Canadian
    > patent expires July 7, 2004, the counterpart patents in the United
    > Kingdom, France, Germany and Italy expire June 18, 2004, and the
    > Japanese counterpart patents expire June 20, 2004.
    I forgot to quote the link on Unisys' site:

    [url]http://www.unisys.com/about__unisys/lzw/[/url]

    --
    H| I haven't lost my mind; it's backed up on tape somewhere.
    +--------------------------------------------------------------------
    Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130
    IT Director / SysAdmin / WebSmith . 800.441.3873 x130
    Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
    [url]http://www.pcraft.com[/url] ..... . . . Boulder, CO 80303, U.S.A.
    Ashley M. Kirchner Guest

  5. #4

    Default Re: [PHP] Animating with GD?

    On Wed, 27 Aug 2003, Simon Fredriksson wrote:
    > Is it possible to create GIF animations using GD?
    Yes, with patches from: [url]http://www.iki.fi/hyvatti/sw/[/url] .

    -Jaakko


    Animated GIF output for PHP

    php-4.3.2-gifanim.diff - patch to php-4.3.2 and php-4.3.3RC1 to
    implement LZW compressed GIF images and GIF89a animations. Can be used
    when LZW properly licensed from Unisys or where otherwise legal. For
    most of the world, the Unisys patent is not valid and for example in
    the US the patent expired June 20th 2003. The configuration part of
    the patch might not be as beautiful as it could, I hope someone of the
    developer could help here. I hope this gets included in future
    releases of PHP.

    The patch essentially copies gd_lzw_out.c file from gd1.5.tar.gz to
    php-4.3.2/ext/gd/libgd/ with minor modifications, and patches other
    places in php source to include compilation of this file. This patch
    is based on patches from [url]http://www.rime.com.au/gd/[/url].

    The animation part of this patch implements three new functions,
    imagegifanimbegin(), imagegifanimadd(), and imagegifanimend(). With
    these functions, animated gif images can be created on the fly with
    php. The documentation for the functions is included in
    php-doc-anim.diff. Note that the animations are not optimized, as they
    are written frame by frame to output or files. This is just a fast
    non-cpu-intensive way of creating animations on the fly. You need to
    process the resulting file with for example gifsicle if you need
    optimized files: [url]http://www.lcdf.org/gifsicle/[/url] .

    I am in no way promoting GIF format over such superior formats as PNG,
    MNG or JPEG, but for some todays applications GIF format still has its
    uses. For example PNG and MNG are not supported in any 3G mobile
    terminals and GIF89A is the only way to create animations for visually
    attractive content. Even Mozilla project does not include MNG support
    for their code by default, so GIF89A is the only option.

    Note! If you are using mod_perl also with Apache, you must not use the
    included libgd in php distribution, but you have to configure with
    external php library, the same one perl GD module uses. Otherwise you
    will get segmentation faults.

    Animated gif output for GD-2

    gd-2.0.15-gifanim.diff - a patch to GD-2.0.15 to make it read and
    write gif files and write animated gif files. Ported from PHP changes
    above. There is no manual, just try to read gd.h.

    The patch essentially copies files gd_gif_in.c and gd_lzw_out.c from
    gd1.5.tar.gz with minor modifications to bring the interface up to
    gd-2 level, and patches gd.h for prototypes and makefile to include
    compilation of this file. This is based on pathces from
    [url]http://www.rime.com.au/gd/[/url].

    Animated gif output for perl GD module

    GD-2.07-gifanim.diff - a patch to perl module that implements the perl
    interface to the above patched gd-2.0.15. Even documentation is
    included this time!


    --
    Foreca Ltd [email]Jaakko.Hyvatti@foreca.com[/email]
    Pursimiehenkatu 29-31 B, FIN-00150 Helsinki, Finland [url]http://www.foreca.com[/url]
    Jaakko hyvätti Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139