From last few days I am struggling to achieve this.
For some reason, we need to change the Foreground (display) color of animated gif images without losing their animation.
I am sure there should be some ways to do thing but i couldn't able to find that.
A website ajaxload[dot]info is doing approximately same thing but I am not sure how they got this using PHP.
Can anyone suggest the similar kind of PHP script to change the color of gif images??
Thanks in advance
How to change the foreground color of animated GIF image
Moderator: General Moderators
- phazorRise
- Forum Contributor
- Posts: 134
- Joined: Mon Dec 27, 2010 7:58 am
Re: How to change the foreground color of animated GIF image
i don't know how to do this. But i'd love to know !
So i'm subscribing to this post.
So i'm subscribing to this post.
Re: How to change the foreground color of animated GIF image
I'm not sure you can. When you open a gif using the GD functions, I believe you get access to just the first frame. ImageMagick might let you. Doing a Google search for "php animated gif" turned up some results that I didn't bother following, but looked promising.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.