|
![Picture of Dady Picture of Dady](/graphics/unknown.gif) Dady - 2008-03-19 12:40:08 - In reply to message 20 from László Zsidi
Hello László Zsidi,
First of all, thank you for your superb class !
I have a little problem with GIF decoder, during the extraction of a frame, transparency native GIF is not retained.
Is it possible to solve this problem ?
Thank you
![Picture of Stefan Schärmeli Picture of Stefan Schärmeli](/graphics/unknown.gif) Stefan Schärmeli - 2009-08-14 08:28:55 - In reply to message 21 from Dady
![Picture of Sean Cannon Picture of Sean Cannon](/graphics/unknown.gif) Sean Cannon - 2010-03-17 00:54:36 - In reply to message 2 from László Zsidi
Hi - thanks for writing this class!
My issue is that while it works, the images are really poor quality when they're split. For example, take a 5 second a movie sequence which looks fine online as an animated gif. I download it to my desktop, upload it through my website and when the GIFDecoder splits it, all the images are black and white, and all noisy. I tried a cartoon animated gif which had a white background, and when I decoded it the background turned blue.
Any ideas? I'm using version 2.0 (Updated at 2009. 06. 23. '06.00.AM').
Thanks!
--Sean
![Picture of Ulan Zhandos Ulanuly Picture of Ulan Zhandos Ulanuly](/graphics/unknown.gif) Ulan Zhandos Ulanuly - 2010-06-11 19:24:36 - In reply to message 20 from László Zsidi
Thank you a lot! Really exciting class! Thank you!
![Picture of Amarakeerthi Picture of Amarakeerthi](/graphics/unknown.gif) Amarakeerthi - 2010-08-13 08:28:14 - In reply to message 24 from Ulan Zhandos Ulanuly
I don't know whether this is the right place to ask this question. Sorry if I am in the wrong place. I uploaded the sample as it is. But I am getting following error when run Example.php
GIFEncoder V2.05: 13 Source is not a GIF image!.
Any ideas?
![Picture of László Zsidi Picture of László Zsidi](/graphics/unknown.gif) László Zsidi - 2010-08-14 06:28:44 - In reply to message 25 from Amarakeerthi
To be sure that the source images are in gif format.
Gifencoder accept gif source images only.
![Picture of Amarakeerthi Picture of Amarakeerthi](/graphics/unknown.gif) Amarakeerthi - 2010-08-16 06:42:33 - In reply to message 26 from László Zsidi
Dear László,
Thank you. It works great. I came across a small problem. when I make the animated gif with photos, areas entirely black becomes entirely white.
Should I save gif frames in a particular gif format?
Thanks
![Picture of Zim Zum Picture of Zim Zum](/graphics/unknown.gif) Zim Zum - 2011-03-25 12:14:20 - In reply to message 1 from qianxiaoqian
Just wanted to post the solution to a problem that took me quite a few hours to solve: I wanted to create an animated GIF where one frame was dynamically generated by PHP with custom text on it. This would not work because even though I used
header("Content-Disposition: inline; filename=filename.gif");
to set the correct filename format, it was still not recognized as a gif file (GIFDecoder returned "Source is not a GIF image").
The solution: I managed to solve the problem by changing the GIFEncoder source type to 'bin' instead or 'url' and loading the image content using 'file_get_contents'. After I finally figured out a space in the GET variables of the URL was causing the 'false' I kept getting I added 'urlencode' to those variables and it all worked like charm! :)
![Picture of Gabriel Lamounier Picture of Gabriel Lamounier](/graphics/unknown.gif) Gabriel Lamounier - 2012-06-22 20:23:39 - In reply to message 2 from László Zsidi
I used this code but it isn't working.
I have this message:
Notice: Uninitialized string offset: 10 in C:\Arquivos de programas\EasyPHP-5.3.7RC5\www\gif\GIFDecoder.class.php on line 166
And the count of the array always return 0.
Can u help me?
![Picture of Nurmat Zhunusoff Picture of Nurmat Zhunusoff](/graphics/unknown.gif) Nurmat Zhunusoff - 2012-10-23 12:51:18 - In reply to message 29 from Gabriel Lamounier
it seems gifdecoder incorrectly split gif into frames there are wrong order of splitted frames. are there any solution of this problem?
|