PHP Classes

GIFEncoder V2.05: 13 Source is not a GIF image!

Recommend this page to a friend!

      GIF images into animated GIF with native PHP class  >  All threads  >  GIFEncoder V2.05: 13 Source is not a...  >  (Un) Subscribe thread alerts  
Subject:GIFEncoder V2.05: 13 Source is not a...
Summary:GIFEncoder V2.05: 13 Source is not a GIF image!
Messages:4
Author:SteveThomas
Date:2009-02-08 02:05:04
Update:2009-02-08 07:25:25
 

  1. GIFEncoder V2.05: 13 Source is not a...   Reply   Report abuse  
Picture of SteveThomas SteveThomas - 2009-02-08 02:05:04
I just uploaded these files and when I run it I get this error.

I did not change any coding and I created and uploaded the sample gif files into a folder called frames

Any thoughts as to why I get this error?

GIFEncoder V2.05: 13 Source is not a GIF image!

Thank you

  2. Re: GIFEncoder V2.05: 13 Source is not a...   Reply   Report abuse  
Picture of SteveThomas SteveThomas - 2009-02-08 02:18:26 - In reply to message 1 from SteveThomas
Oh, I just figured it out. I had more files than just the gif files in the frames folder. It seems the only way it will work is with only gifs in the folder. :)

  3. Re: GIFEncoder V2.05: 13 Source is not a...   Reply   Report abuse  
Picture of László Zsidi László Zsidi - 2009-02-08 07:24:15 - In reply to message 1 from SteveThomas
Hi,
This error is a built-in error and it will appear when the source is not a GIF image and the execution of script will end.
If you get this error message be sure that the actual frame is a GIF image.
Open it in a hexa- or in a text editor and you will see the first 6 bytes.
If the first 6 bytes are not "GIF87a" or "GIF89a" that the source image is not a GIF image!

In some cases, that the image extension is other than the the real image data, example: a JPEG data renamed as GIF image.

László

  4. Re: GIFEncoder V2.05: 13 Source is not a...   Reply   Report abuse  
Picture of László Zsidi László Zsidi - 2009-02-08 07:25:25 - In reply to message 2 from SteveThomas
Ok.:)