How to add water mark in gif!

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
manjifera
Forum Newbie
Posts: 8
Joined: Sun May 11, 2008 2:52 am

How to add water mark in gif!

Post by manjifera »

Hi all can any one help to add watermark in gif image! as i want to add watermark of my wesite in some gif glitter images! is it possible?

e.g in this image!

Image

Image


Q.2 and can we extract frames from such gif's n add them with new watermark image! as i have read about GD cant support gif animated files :( !
manjifera
Forum Newbie
Posts: 8
Joined: Sun May 11, 2008 2:52 am

Re: How to add water mark in gif!

Post by manjifera »

finally i did splitting of animate gif into gif images using gif decoder class!

Image

to
http://www.rainoh.com/prash/test/frames/images01.gif
Image
http://www.rainoh.com/prash/test/frames/images02.gif
Image

but after making its gif its look like this

http://rainoh.com/prash/test/Example.php

Image


i am using GIFEncoder.class.phps
http://rainoh.com/prash/test/GIFEncoder.class.phps
and
http://rainoh.com/prash/test/Example.phps
and decode gif's using decoder class
http://rainoh.com/prash/test/frames folder!

Now my need is that how can i keep 1st frames as it is!so will get smooth view!
Post Reply