How do I add n image over an animated gif?

Discussion in 'PHP' started by Fracisc, Mar 5, 2009.

  1. #1
    I have a GD related question: How do I add an image over an animated gif? Is that possible?
     
    Fracisc, Mar 5, 2009 IP
  2. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There's no simple way to do it in GD like with normal images, but there are classes you can download that enable you to work with animated gifs.
     
    Shoro, Mar 5, 2009 IP
  3. Fracisc

    Fracisc Well-Known Member

    Messages:
    3,670
    Likes Received:
    10
    Best Answers:
    1
    Trophy Points:
    195
    #3
    I managed to load an animated gif but when I add the other image over it it is not animated any longer...
     
    Fracisc, Mar 5, 2009 IP
  4. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Like I said, you can't treat an animated gif like a normal image in GD. Unless you're really advanced, you should download a special class for working with animated gifs (there are plenty, try searching google).
     
    Shoro, Mar 6, 2009 IP
  5. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #5
    exodus, Mar 6, 2009 IP