Taha Paksu - 2012-04-03 20:03:15 - In reply to message 3 from alyn
ok but its still an optimization issue for me. can you send me an example file that causes the 60sec process? I'm able to convert 10 files in 5 secs in my localhost. It's a frame count related or file reading issue I think. I'm using file_get_contents and file_set_contents in my script to get file contents. maybe changing them to fopen fread would improve timings.
function.imagecreatefromgif: failed to open stream: No such file or directory
it seems that sometimes "delete" proccess is executed too slow and frames (file_put_contents) are added after starting process for "creating" the gif file . (it might be a server related issue i don't know.)
Taha Paksu - 2012-05-08 07:30:41 - In reply to message 5 from alyn
I've tested your file and you're right, your file has a special block order that my script can't catch and enters an infinite loop. I fixed it but there's another problem caused by PHP itself. When reading with fread(), at address 0x311 your file contains 0x32,but PHP's fread() reads 0x00. I don't know why it happens and it drives me crazy. I updated the code, please re-download the class and try it again. There'll be a distortion in the animation, but it happens because of PHP itself, not my class.